rusty_vault 0.2.1

RustyVault is a powerful identity-based secrets management software, providing features such as cryptographic key management, encryption as a service, public key cryptography, certificates management, identity credentials management and so forth. RustyVault's RESTful API is designed to be fully compatible with Hashicorp Vault.
Documentation
1
2
3
4
5
6
use blake2b_simd::Params;

pub fn blake2b256_hash(key: &str) -> Vec<u8> {
    let hash = Params::new().hash_length(32).to_state().update(key.as_bytes()).finalize();
    hash.as_bytes().to_vec()
}