swift-rsautils
swift-rsautils copied to clipboard
The func which encrypt with RSA PrivateKey is not working.
You should replace "SecKeyEncrypt" with "SecKeyRawSign"
Hi @anonymity-du,
That function is there just for completeness. In practice we do not encrypt with private key because it not secure.
Cheers, Thanh Nguyen