From NSData to SecKeyRef in swift 2
|Added at||2016-12-28 22:12|
I have a public/private key pair generated with RSACryptor.swift I am able to convert my public key into a base64 string to be stored on my server.
I want to retrieve the public key on an other iOS device and use it to encrypt a message.
I am able to convert the base64 key to an NSData
But I can't find how to convert it into a
Answers I found were in Objectiv-C and outdated.
Thanks for your help !