kODAuthenticationTypeReadSecureHash

Static kODAuthenticationTypeReadSecureHash 

Source
pub unsafe static kODAuthenticationTypeReadSecureHash: Option<&'static ODAuthenticationType>
Available on crate feature CFOpenDirectoryConstants only.
Expand description

Returns the SHA1 or Seeded SHA1 hash for a local user.

Returns the SHA1 or Seeded SHA1 hash for a local user Only accessible by root processes. Only implemented by the local node.

Authentication array has following items in order: user’s name in UTF8 encoding

Continue items array contains: value, either the old 20-byte SHA1 or the new seeded 24-byte SHA1.

See also Apple’s documentation