开发者

Help for AES-128 Bit Algorithm ?? i want to encrypt it

开发者 https://www.devze.com 2022-12-29 20:03 出处:网络
Can i get link 开发者_如何学JAVAforAES-128 Bit Algorithm any sample code please helpAES-128 is already implemented in the Security framework and CommonCrypto API for the iPhone. This site contains som

Can i get link 开发者_如何学JAVAfor AES-128 Bit Algorithm any sample code please help


AES-128 is already implemented in the Security framework and CommonCrypto API for the iPhone. This site contains some sample code using this to encrypt a message.

You can also find sample code on Apple's website that makes use of this and provides some Objective-C wrappers.


Quite a few are written in C or C++ that you should be able to use in the iPhone, though I don't know of any that is written in Objective C as such. Note that in most (if not all) cases, the AES code itself is just one part of a larger library that attempts to include enough to actually make the cryptographic algorithm itself useful and usable.


I think you want to use CCCryptor and not roll your own methods.


This may be a bit trite, but it's not hard to implement AES yourself. I've done it in a couple of hours. The official specification is here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号