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

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