PROOFOFCUSTODY
Bitcoin
Data
Get the Report
PROOFOFCUSTODY

The independent scoring system for Bitcoin custody. Every platform scored and ranked.

$1B+ in assets under custody expertise

No spam. Unsubscribe anytime.

PLATFORM SCORES
All ScoresCompareMethodologyCustody Assessment
LEARN
Bitcoin 101Custody GuidesFAQQuiz
RESOURCES
DataPodcastReportEditorial Independence
CONNECT
Twitter / XLinkedInYouTubehello@proofofcustody.io
2026 Proof of Custody. Published by Onramp Bitcoin. Editorial Independence.proofofcustody.io
Glossary
DGlossary

DER Format

The Distinguished Encoding Rules (DER) format is a defined standard which Bitcoin uses to encode ECDSA signatures.

The Distinguished Encoding Rules (DER) format is a defined standard which Bitcoin uses to encode ECDSA signatures. A signature consists of a random number called an r value, and the signature itself, called the _s_ value. A typical Bitcoin signature is 71 bytes long, as a one byte sighash flag is appended to the DER signature, and these bytes are represented in hexadecimal format. DER format begins with a prefix byte of 0x30, followed by the length of the signature. Next comes an 0x02 byte followed by the length of the r value, followed by the r value itself. Finally, an 0x02, the length of the s value, and the s value are added. For both r and s values, if the first byte is higher than 0x80, an additional 0x00 byte is prepended to the value. So, while r and s values are both 32 bytes long, they occasionally take up 33 bytes in DER format.

Related Terms
SignatureEncodingECDSASEC Format

Stay Informed

Get weekly custody analysis and Bitcoin education delivered to your inbox.