The func which encrypt with RSA PrivateKey is not working.
anonymity-du opened this issue · 1 comments
anonymity-du commented
You should replace "SecKeyEncrypt" with "SecKeyRawSign"
btnguyen2k commented
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