# ASN.1 digest algorithm prefixes



<table><thead><tr><th width="143">Digest</th><th width="271">ASN. 1 OID</th><th>Perfix (bytes)</th></tr></thead><tbody><tr><td>MD5</td><td><code>1.2.840.113549.2.5</code></td><td><code>30 20 30 0C 06 08 </code><strong><code>2A 86 48 86 F7 0D 02 05</code></strong><code> 05 00 04 10</code></td></tr><tr><td>RIPEMD-160</td><td><code>1.3.36.3.2.1</code></td><td><code>30 21 30 09 06 05 </code><strong><code>2B 24 03 02 01</code></strong><code> 05 00 04 14</code></td></tr><tr><td>SHA-1</td><td><code>1.3.14.3.2.26</code></td><td><code>30 21 30 09 06 05 </code><strong><code>2B 0E 03 02 1A</code></strong><code> 05 00 04 14</code></td></tr><tr><td>SHA-224</td><td><code>2.16.840.1.101.3.4.2.4</code></td><td><code>30 2D 30 0D 06 09 </code><strong><code>60 86 48 01 65 03 04 02 04</code></strong><code> 05 00 04 1C</code></td></tr><tr><td>SHA-256</td><td><code>2.16.840.1.101.3.4.2.1</code></td><td><code>30 31 30 0D 06 09 </code><strong><code>60 86 48 01 65 03 04 02 01</code></strong><code> 05 00 04 20</code></td></tr><tr><td>SHA-384</td><td><code>2.16.840.1.101.3.4.2.2</code></td><td><code>30 41 30 0D 06 09 </code><strong><code>60 86 48 01 65 03 04 02 02</code></strong><code> 05 00 04 30</code></td></tr><tr><td>SHA-512</td><td><code>2.16.840.1.101.3.4.2.3</code></td><td><code>30 51 30 0D 06 09 </code><strong><code>60 86 48 01 65 03 04 02 03</code></strong><code> 05 00 04 40</code></td></tr></tbody></table>
