btnguyen2k/swift-rsautils

The func which encrypt with RSA PrivateKey is not working.

anonymity-du opened this issue · 1 comments

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