Question

i use RNCryptor in my iOS project.

i have a openssl .pem (private key) file. and only that file.

i need to use that file to encript / sign a string.

does anybody know how the code could look like to do that?

Was it helpful?

Solution

RNCryptor is a format and library for managing AES symmetrical encryption. What you're describing is very likely RSA asymmetrical encryption (public/private key encryption). They're not compatible.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top