About Project
End to End encryption (RSA) for multiple languages (cross-platform) with double encryption and double decryption methods
Usage (rust)
Implementation
Cargo
RSA
Documentation will be published soon at our website
You can try:
let mut x = Vec::new();
let encrypto = EncryptoRSA::init(512);
let encrypto1 = EncryptoRSA::init(512);
let msg = b"abc".as_slice();
let enc = encrypto.encrypt(msg, EncryptoRSA::desterilize_pub_key(encrypto1.get_sterilized_pub_key())).unwrap();
let dec = encrypto1.decrypt(enc.as_bytes());
x.push(dec);
let enc = encrypto.encrypt_with_pkcsv1_15(msg, EncryptoRSA::desterilize_pub_key(encrypto1.get_sterilized_pub_key())).unwrap();
let dec = encrypto1.decrypt_with_pkcsv1_15(enc.as_bytes());
x.push(dec);
let enc = encrypto.double_encrypt(msg, EncryptoRSA::desterilize_pub_key(encrypto1.get_sterilized_pub_key())).unwrap();
let dec = encrypto1.double_decrypt(enc.as_bytes(), encrypto.get_public_key());
x.push(dec);
let enc = encrypto.double_encrypt_with_pkcsv1_15(msg, encrypto1.pbl.clone()).unwrap();
let dec = encrypto1.double_decrypt_with_pkcsv1_15(enc, encrypto.pbl.clone());
x.push(dec);
for f in x.iter() {
assert_eq!(&msg.to_vec(), f);
}
Please raise an issue here if the documentation isn't uploaded in long time
Upcoming
Supported Languages |
Status |
Flutter |
Completed and available here |
Java |
Completed and available here |
JavaScript |
Completed and available here |
- Amazing encrypto with prevention against man in the middle attacks and AES-CBC with RSA key exchange for multiple language
License