rsa_pkcs1v15 library

Functions

decryptRsaPkcs1v15(String privateKey, dynamic message, {bool cleanupTempDirectory: true}) Future<Uint8List>
openssl pkeyutl -decrypt -pkeyopt rsa_padding_mode:pkcs1 -in encrypted.dat -inkey myprivate.pem
encryptRsaPkcs1v15(String publicKey, dynamic message, {HashName digest: HashName.sha256, bool cleanupTempDirectory: true}) Future<Uint8List>
openssl pkeyutl -encrypt -pkeyopt rsa_padding_mode:pkcs1 -in message.txt -pubin -inkey publickey.pem