File tree Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change @@ -362,43 +362,6 @@ Init_ossl_digest(void)
362362 *
363363 * digest = OpenSSL::Digest.new('SHA256')
364364 *
365- * === Mapping between Digest class and sn/ln
366- *
367- * The sn (short names) and ln (long names) are defined in
368- * <openssl/object.h> and <openssl/obj_mac.h>. They are textual
369- * representations of ASN.1 OBJECT IDENTIFIERs. Each supported digest
370- * algorithm has an OBJECT IDENTIFIER associated to it and those again
371- * have short/long names assigned to them.
372- * E.g. the OBJECT IDENTIFIER for SHA-1 is 1.3.14.3.2.26 and its
373- * sn is "SHA1" and its ln is "sha1".
374- * ==== MD2
375- * * sn: MD2
376- * * ln: md2
377- * ==== MD4
378- * * sn: MD4
379- * * ln: md4
380- * ==== MD5
381- * * sn: MD5
382- * * ln: md5
383- * ==== SHA
384- * * sn: SHA
385- * * ln: SHA
386- * ==== SHA-1
387- * * sn: SHA1
388- * * ln: sha1
389- * ==== SHA-224
390- * * sn: SHA224
391- * * ln: sha224
392- * ==== SHA-256
393- * * sn: SHA256
394- * * ln: sha256
395- * ==== SHA-384
396- * * sn: SHA384
397- * * ln: sha384
398- * ==== SHA-512
399- * * sn: SHA512
400- * * ln: sha512
401- *
402365 * "Breaking" a message digest algorithm means defying its one-way
403366 * function characteristics, i.e. producing a collision or finding a way
404367 * to get to the original data by means that are more efficient than
You can’t perform that action at this time.
0 commit comments