| Crates.io | simple-encdec |
| lib.rs | simple-encdec |
| version | 0.0.1 |
| created_at | 2022-05-12 03:32:42.962838+00 |
| updated_at | 2022-05-12 03:32:42.962838+00 |
| description | Simple Encrypt / Decrypt |
| homepage | |
| repository | |
| max_upload_size | |
| id | 584991 |
| size | 14,840 |
A very simple rust library to encrypt and decrypt strings.
cargo b --release
use simple_encdec::encrypt;
let x = encrypt("hello world");
assert!(x.is_some());
assert_eq!(x.unwrap(), "a=GQVGsbbyG982gd");
use simple_encdec::decrypt;
let x = decrypt("a=GQVGsbbyG982gd");
assert!(x.is_some());
assert_eq!(x.unwrap(), "hello world");
License: MIT