vow-crypto
vow-crypto hashes data deterministically and generates salted passwords with the Rand grant. Install with vpm:
curl -fsSL https://install.vowlang.dev | shexport PATH="$HOME/.local/bin:$PATH"vpm add vow-cryptovpm installQuick start
Section titled “Quick start”import vcrypto from vow_crypto
fn main(caps: Caps) -> int { assert vcrypto.hash_data("x") == "hash:x"; return match caps.rand { Some(cap) => with cap { len(vcrypto.hash_password("p", cap)) }, None => 0 - 1, };}Run tests
Section titled “Run tests”cd vow-libs/vow-crypto && vow test tests/crypto.vow -- --grant rand