[][src]Function passwords::hasher::get_password_with_null_terminated_byte

pub fn get_password_with_null_terminated_byte<T: ?Sized + AsRef<[u8]>>(
    password: &T
) -> Cow<[u8]>

Check the password and make it terminated with a null byte, 0u8.