Vanethos / flutter_rsa_generator_example

Example of Generating RSA Keys
35 stars 17 forks source link

PKCS#1 PEM first line is -----BEGIN RSA PRIVATE KEY---- #1

Open aruis opened 4 years ago

aruis commented 4 years ago

PKCS#1 PEM first line is -----BEGIN RSA PRIVATE KEY----

elsamuko commented 4 years ago

It's missing in the public key, too. -----BEGIN PUBLIC KEY----- should be -----BEGIN RSA PUBLIC KEY-----

And -----BEGIN PRIVATE KEY----- should be -----BEGIN RSA PRIVATE KEY-----