vep
Variable-length Expansion Pass function. ( i.e. short password to long hashed password )
| Docs | Latest Note |
[]
= "2.1.0"
or
[]
= { = "2.1.0", = false } # no-std
How to
use Vep;
use ; // can be any hasher(dyn Digest from `digest` crate)
let src = b"hello vep!"; // <- 10 bytes
let expanded = Vep.expand; // -> 10 * 32 bytes == `320 bytes`
assert_eq!;
Fixed size available
let src = b"hello vep!"; // <- 10 bytes
let result = Vep.expand_and_then_reduce; // -> 320 bytes -> `32 bytes` (reduced)
assert_eq!;
* Algorithm
