cryptoys/lib.rs
1//! Cryptoys is a cryptographic library that contains cryptographic toys, like historical algorithms(rot13, playfair)
2//! or hashing functions like md5(not yet).
3//! <br>
4//! <br>
5//! The primary goal of this crate is not to make a fully functioning, save and secure cryptography library (others have done this already),
6//! but to provide fun toys to play around with.
7//! <br>
8//! So please don't use this library as your primary source of encryption.
9//!
10//! ##### Features:
11//! - historical ciphers
12//! - playfair
13//! - rot13
14//! - caesar
15//! - atbash
16//! - affine
17//! - key encryption
18//! - otp
19
20pub mod historical;
21pub mod key;
22mod utils;
23
24/// Solves a Ciphtertext
25pub trait Solve {
26 fn solve(&self) -> String;
27}