Skip to content

Commit 5bef205

Browse files
committed
Created a New Branch: dart-encryption
1 parent be89c35 commit 5bef205

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/common/crypto.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class Cryptom {
1919
String encrypt(String plaintext, String publicKey) {
2020
/// After a lot of research on how to convert the public key [String] to [RSA PUBLIC KEY]
2121
/// We would have to use PEM Cert Type and the convert it from a PEM to an RSA PUBLIC KEY through basic_utils
22+
///
2223
var pem =
2324
'-----BEGIN RSA PUBLIC KEY-----\n$publickey\n-----END RSA PUBLIC KEY-----';
2425
var public = CryptoUtils.rsaPublicKeyFromPem(pem);

0 commit comments

Comments
 (0)