Crates.io | encrypto_rsa |
lib.rs | encrypto_rsa |
version | 5.0.0 |
source | src |
created_at | 2022-11-21 04:29:25.139784 |
updated_at | 2024-06-29 07:13:49.303982 |
description | stunning-encrypto is cross platform end-to-end encryption dependency. |
homepage | https://www.ssdd.dev/zot/crypto/rsa/rust |
repository | https://github.com/zotcrypto/encrypto-rsa-rust |
max_upload_size | |
id | 719699 |
size | 19,096 |
End to End NO STD, WASM supported, platform independent RSA encryption and decryption library for High Level Usage
Icon | Item |
---|---|
🥳 | Upcoming |
⚖️ | License |
cargo add encrypto_rsa
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());
}
Supported Languages | Status |
---|---|
Flutter | WIP |
Java | WIP |
JavaScript | WIP |