views:

307

answers:

2

hi all, i am new to iPhone. i want to know which Encryption /decryption algorithm is supported by iPhone ? please suggest or provide me some helpful link

+4  A: 

You can find supported standard encryption algorithms in CommonCryptor.h header:

enum {
    kCCAlgorithmAES128 = 0,
    kCCAlgorithmDES,  
    kCCAlgorithm3DES,  
    kCCAlgorithmCAST,  
    kCCAlgorithmRC4,
    kCCAlgorithmRC2  
};
Vladimir
can you describe or provide some helpful link which explain the which algorithm is best or compare the algorithm for different condition?
Rupesh
A: 

please let me know if iphone supports 1024 bit asymmetric encryption??