Are CC_MD5() and CC_SHA1() available in iOS 4?

后端 未结 4 1758
死守一世寂寞
死守一世寂寞 2021-02-14 19:02

I am looking to make use of MD5 or SHA-1 in my iOS application targeted at iOS 4 and later. I use the CC_MD5() and CC_SHA1() functions from CommonCrypto/CommonDigest.h. It seems

4条回答
  •  有刺的猬
    2021-02-14 19:24

    CC_MD5 does work in iOS 4.3. I think it must have been undocumented before iOS 5 or something.

提交回复
热议问题