// Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
//! A module that provides password utilities.
use ;
use Rng;
/// Error occurring when hashing/verifying passwords.
pub type Error = Error;
/// Generates a salt to be used for password hashing.
/// Hashes a password together with a salt.
/// Verifies if a password/salt pair matches a password hash.