Function passwords::hasher::get_password_with_null_terminated_byte [−][src]
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
.