No Chat Reports (NCR) Chat Encryption
This crate implements the No Chat Reports's custom chat encryption. More specifically this implements a fork of No Chat Reports.
All functionalities of the custom chat encryption are implemented. You can still use this crate normally if you are using the original No Chat Reports.
Examples
Encrypting
use ;
let key = gen_from_passphrase;
let plaintext = prepend_header;
let ciphertext = encrypt.unwrap;
println!;
Decrypting
use ;
let key = gen_from_passphrase;
let ciphertext = r#"%[2_0»³"!7).«?;!.$¥`¶:8~667ª¸[¬)¢+¤^"#;
let plaintext = decrypt.unwrap;
let plaintext = trim_header.unwrap;
assert_eq!;