vep

Variable-length Expansion Pass function. ( i.e. short password to long hashed password )

(supported no-std)

CI Crates.io Licensed Twitter

| Docs | Latest Note |

toml [dependencies] vep = "2.0.0"

or

toml [dependencies] vep = { version = "2.0.0", default-features = false } # no-std

How to

``rust use vep::Vep; use sha2::{Sha256, Digest}; // can be any hasher(dyn Digest fromdigest` crate)

let src = b"hello vep!"; // <- 10 bytes let expanded = Vep(Sha256::new()).expand(src); // -> 10 * 32 bytes == 320 bytes

asserteq!(expanded.len(), Vep::::outputsize_calc(src));

```

## * Algorithm

Vep Image