pub fn prekey_from_password(
sid: &str,
password: &str,
) -> Result<[u8; 20], DpapiError>Expand description
Derive the pre-key directly from a plaintext password and SID.
pwd_sha1 = SHA1(UTF16LE(password)), then prekey_from_sha1.
pub fn prekey_from_password(
sid: &str,
password: &str,
) -> Result<[u8; 20], DpapiError>Derive the pre-key directly from a plaintext password and SID.
pwd_sha1 = SHA1(UTF16LE(password)), then prekey_from_sha1.