¡@

Home 

2014/10/15 ¤U¤È 10:12:38

iphone Programming Glossary: plainbuffer

Iphone - How to encrypt NSData with public key and decrypt with private key?

http://stackoverflow.com/questions/10072124/iphone-how-to-encrypt-nsdata-with-public-key-and-decrypt-with-private-key

SecKeyRef publicKey SecKeyRef privateKey NSData publicTag NSData privateTag void encryptWithPublicKey uint8_t plainBuffer cipherBuffer uint8_t cipherBuffer void decryptWithPrivateKey uint8_t cipherBuffer plainBuffer uint8_t plainBuffer SecKeyRef.. uint8_t plainBuffer cipherBuffer uint8_t cipherBuffer void decryptWithPrivateKey uint8_t cipherBuffer plainBuffer uint8_t plainBuffer SecKeyRef getPublicKeyRef SecKeyRef getPrivateKeyRef void testAsymmetricEncryptionAndDecryption void.. plainBuffer cipherBuffer uint8_t cipherBuffer void decryptWithPrivateKey uint8_t cipherBuffer plainBuffer uint8_t plainBuffer SecKeyRef getPublicKeyRef SecKeyRef getPrivateKeyRef void testAsymmetricEncryptionAndDecryption void generateKeyPair NSUInteger..