iPhone/OS X LION: How to retrieve the decoded data from the CC_SHA256 encrypted data?

前端 未结 2 1788
失恋的感觉
失恋的感觉 2021-01-29 10:11

I am encoding NSString input using the following code (CC_SHA256). Could someone help me retrieving in decoded format using the same logic?

    -(NSString*) enco         


        
2条回答
  •  有刺的猬
    2021-01-29 11:02

    You can't SHA is a hashing algoritm, not ment to be decoded.

    Like Jonathan Grynspan said, if you could decode sha (any version) would defeat the purpose of such an algorithm.

提交回复
热议问题