ln_gateway::rpc::rpc_server

Function hash_password

Source
pub fn hash_password(plaintext_password: &str, salt: [u8; 16]) -> Hash
Expand description

Creates a password hash by appending a 4 byte salt to the plaintext password.