hashes icon indicating copy to clipboard operation
hashes copied to clipboard

ripemd: which OIDs to use?

Open newpavlov opened this issue 3 years ago • 0 comments

Unfortunately, ripemd has several OIDs. For example, for Ripemd160 has ISO (1.0.10118.3.0.49) and Teletrust (1.3.36.3.2.1). Go's std uses the former (see https://github.com/golang/go/issues/35495), while OpenSSL the latter.

I am inclined to use the latter in our codebase, because it looks more widespread and the ISO range contains OIDs for Streebog (see http://oid-info.com/get/1.0.10118.3.0), even though AFAIK in practice people usually use the TC26 OIDs for it.

newpavlov avatar Sep 16 '22 02:09 newpavlov