This crate has POC (Proof Of Concept) status!
First add crypto-literal
crate to your Cargo.toml
:
toml
[dependencies]
crypto-literal = "0.1"
Now you can write the following code:
```rust
use crypto_literal::encrypt;
let crypto_literal = encrypt!("The quick brown fox jumps over the lazy dog."); ```
or:
```rust
use cryptoliteral::{encrypt, CryptoLiteral}; use lazystatic::lazy_static;
lazystatic! {
static ref CRYPTOLITERAL: CryptoLiteral