10 stable releases (4 major)

5.0.0 Jun 29, 2024
4.0.0 Sep 6, 2023
3.2.4 Jan 5, 2023
3.1.3 Nov 28, 2022
0.2.1 Nov 21, 2022

#399 in Cryptography

Download history 16/week @ 2024-07-26 2/week @ 2024-08-02 7/week @ 2024-09-13 35/week @ 2024-09-20 5/week @ 2024-09-27 1/week @ 2024-10-04

676 downloads per month
Used in encrypto_aes

MIT license

11KB
216 lines

codecov Visitor Badge Crates Badge Crates Downloads

About Project

End to End NO STD, WASM supported, platform independent RSA encryption and decryption library for High Level Usage

Icon Item
🥳 Upcoming
⚖️ License

Usage (rust)

Implementation

Cargo

cargo add encrypto_rsa

RSA

Documentation will be published soon at our website

You can try:

use encrypto_rsa::keystore::EncryptoRSA;
fn main() {
    use encrypto_rsa::EncryptoRSA;
    let mut key_store = EncryptoRSA::init(2048).unwrap();
    let msg = "Alo";
    let encrypted = key_store.encrypt(msg).unwrap();
    let decrypted = key_store.decrypt(&encrypted).unwrap();
    assert_eq!(msg.as_bytes(), decrypted.as_slice());
}

Please raise an issue here for bug/feature report or documentation error

Upcoming

Supported Languages Status
Flutter WIP
Java WIP
JavaScript WIP
  • Amazing encrypto with prevention against man in the middle attacks and AES-CBC with RSA key exchange for multiple language

License

Click here

Dependencies

~4.5–6MB
~121K SLoC