rsa_encrypt
rsa_encrypt copied to clipboard
rsa encrypt package
I'm having an error when trying to decrypt. The encryption is fine. ## Reproduce: ```dart String publicKey = '-----BEGIN RSA PUBLIC KEY-----' 'MIIBCgKCAQEAqxd87o5VeHQclWAz6Y3QziDm4KT8ONP5sVKLuB0wvy4dE7yDR2UvR8aiPAPg1L6m0lEffTHrRtKEtcQnzWY5R/aoANPCBJYqM5RAEb1W1t1w3Xgvi/ZjzFTmwm70QZdOn+8u8Yb9d1g+G1R0yk0t7AeQtxWNKKJyR1eibJvFHB/uXru3IyHT/J7JfCgJiJTqcuT5Vt7+D03I4xtTu5IMpsVuXWSeK8DfgdVkNCXiYJmx3jDa2kWDSyBlO9hMXZZElECnifVtB/u2YA8x7Ju3+PcCTeLTpvNXelKzvooNeN/uD3fJhbb4eCiygTYFWzzzkgDhs4xg8FTaUgwtKXoewQIDAQAB' '-----END RSA PUBLIC KEY-----'; String privateKey =...
I would like to know or have the possibility of an example of using String signing with RSA in the docs so we can use it easily :)
I want to encrypt using the public key of the String I have. I got an error with `parsePublicKeyFromPem`. - Code ``` var helper = RsaKeyHelper(); // a base64 encoded...
Corrected a few spelling mistakes I saw in pub dev while reading the ReadMe file
I simply added an option to specify the bit strength during key creation and avoided the `compute()` function on web (as isolates are not available there)
Getting this exception "Input too large for RSA cipher" when encrypting string with more than 64 characters. Is there any limit of number of characters for encryption? flutter doctor output...
I use this to generate ssh Public and Private Key. I send the public key to linux server and try to connect to it with [ssh package](https://pub.dev/packages/ssh) from Flutter and...
The `privateKey.exponent` is the same as `privateExponent`, it should be `publicExponent`。 ``` String encodePrivateKeyToPemPKCS1(RSAPrivateKey privateKey) { var topLevel = new ASN1Sequence(); var version = ASN1Integer(BigInt.from(0)); var modulus = ASN1Integer(privateKey.n); var...