On 03/22/2011 10:20 PM, Crypto User wrote:
> For creating hash  I found 2 sets of APIs .
> There seem to be different APIs.
> E.g CreateDigestContext(SECOidTag hashAlg) and PK11_DigestBegin
> related APIs in
> https://developer.mozilla.org/en/NSS/Cryptography_functions
> or
> MD5_Begin() and related hash API from ("hash"_Begin etc)
> http://mxr.mozilla.org/security/source/security/nss/lib/freebl/md5.c
> and other hashing alg files.
> Which one should be used ?

PK11_DigestBegin.

We don't export the freebl interface to general applications.

bob


-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to