rsa_encrypt 1.0.2 copy "rsa_encrypt: ^1.0.2" to clipboard
rsa_encrypt: ^1.0.2 copied to clipboard

outdated

Enable you to quickly implement rsa encryption in your flutter app, it covers everything from Generating key pairs, encrypt and decrypting strings.

rsa_encrypt #

RSA encryption package.

Getting Started #

RSA keys generator, String encryption and decryption and String signing.

How it works #

let say Alice want to send a message to Bob. a normal messaging solution would be : Alice write the message and send it to Bob the only problem is that the Message will be transferred in PlainText and every one who intercept the message can read it.

This is were RSA comes to play:

  1. We generate keys( public & private ) for Bob.
  2. If Alice wanted to send a message to Bob she have to encrypt that message with Bob's public keys.
  3. Then the encrypted message will be transferred to Bob and only Bob's private key can decrypt that message.

that way no none can decrypt the message except the owner of that specific private key.

How to use #

in order to use RSA encryption you need to generate 2 keys a public key (used to encrypt a text) and a private key (used to decrypt a text).

A youtube video will be available soon!

More on RSA #

The RSA Encryption Algorithm (1 of 2: Computing an Example) The RSA Encryption Algorithm (2 of 2: Generating the Keys) How to solve RSA Algorithm Problems?


depends on pointycastle, asn1lib. thanks to Gonçalo Palma for his Article.


For help getting started with Flutter, view our

online documentation, which offers tutorials,

samples, guidance on mobile development, and a full API reference.

56
likes
0
pub points
93%
popularity

Publisher

unverified uploader

Enable you to quickly implement rsa encryption in your flutter app, it covers everything from Generating key pairs, encrypt and decrypting strings.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

asn1lib, flutter, pointycastle

More

Packages that depend on rsa_encrypt