Dart en- and decrypt string using public and private key

1.5k views Asked by At

Is there a way given a file of a public and a private key to en- and decrypt a String using dart? I'm talking about a high level interface for this because the existing libraries like cipher only enable low level access and a manual extraction of modulus and public exponent.

1

There are 1 answers

5
Adracus On

In the meantime, I wrote my own RSA implementation. If anybody else needs something like this (high level access to encryption and decryption methods), here is the link:

https://github.com/Adracus/rsa