Home > Mobile >  Flutter of RSA public key encryption
Flutter of RSA public key encryption

Time:01-06

Encrypt: ^ 4.0.0 public-key encryption, error Unhandled Exception: type 'ASN1Sequence' is not a subtype of type 'ASN1Integer in type cast,

CodePudding user response:

Solved, because the background only gave me a PUBLIC KEY string, I manually add the -- -- -- -- -- BEGIN RSA PUBLIC KEY -- -- -- -- --, to -- -- -- -- -- BEGIN PUBLIC KEY -- -- -- -- -- was no problem .
  • Related