why2 0.2.8-rex

Lightweight, fast, secure, and easy to use encryption system.
Documentation

WHY2

Build Status Codacy Badge Latest Version Docs Status

Lightweight, fast, secure, and easy to use encryption system.


Code Example

use why2::core::rex::{ encrypter, decrypter };

fn main()
{
    let input = String::from("Hello world!");

    // Encrypt input using 8x8 Grid, with random key
    let encrypted = encrypter::encrypt_string::<8, 8>(&input, None)
                        .expect("Encryption failed");

    // Print encrypted Grids
    for grid in &encrypted.output
    {
        println!("{}", grid);
    }

    // Decrypt
    let decrypted = decrypter::decrypt_string(encrypted);

    // Compare input & output
    assert_eq!(input, decrypted);
}

Links:

Getting Help

For help, DM me directly on Discord :)

License