#codec #encryption #encryption-decryption #crypt

kosalt

This package allows for quick encoding and decoding text

12 stable releases

3.1.7 Jun 28, 2023
3.0.4 Jun 27, 2023

#565 in Cryptography

Download history 4/week @ 2024-02-24 2/week @ 2024-03-09 1/week @ 2024-03-16 62/week @ 2024-03-30 13/week @ 2024-04-06

75 downloads per month

Custom license and AGPL-3.0

11KB
215 lines

kos

kos (Key, Offset, and Salt) is a quick encryption protocal that uses math to encrypt and decrypt.

whats new in lib?

(3.1.3) - minor bug fix

features

kos 3.0.0+ allows for the user to implement this protocal in their program. using lib is the vanilla experience. using kos includes a basic ui.

demo

Web demo here

example

use kosalt;
fn main() {
    kosalt::gen();
    kosalt::encrypt("This is super cool!");
    let message = kosalt::decrypt();
    println!("{message}");
}

Dependencies

~0.6–1MB
~22K SLoC