flutter-rsa
flutter-rsa copied to clipboard
[Feature Request]: Add option to encrypt using private key
Thanks for this Plugin. Need option to encrypt using private key.
Hi @msarkrish if you have a privatekey and want to use encrypt, you could convert the privatekey to a publicKey using the following method
publicKey = RSA.convertPrivateKeyToPublicKey(privateKey)
hope this helps
@jerson I already have public key also. As per my requirement i need to encrypt the data using private key with the format PKCS1. Is it possible to add this option?