userHashAlgorithm (property)
Specifies the hash algorithm used to generate TOTP (Time-based One-Time Passwords) passwords for this user.
Syntax
- (NSString*)userHashAlgorithm:(int)userIndex; - (void)setUserHashAlgorithm:(int)userIndex:(NSString*)newUserHashAlgorithm;
public func userHashAlgorithm(userIndex: Int32) throws -> String
public func setUserHashAlgorithm(userIndex: Int32, newUserHashAlgorithm: String) throws -> Void
Default Value
""
Remarks
Specifies the hash algorithm used to generate TOTP (Time-based One-Time Passwords) passwords for this user. Three HMAC algorithms are supported, with SHA-1, SHA-256, and SHA-512 digests:
SB_MAC_ALGORITHM_HMAC_SHA1 | SHA1 | |
SB_MAC_ALGORITHM_HMAC_SHA256 | SHA256 | |
SB_MAC_ALGORITHM_HMAC_SHA512 | SHA512 |
The UserIndex parameter specifies the index of the item in the array. The size of the array is controlled by the UserCount property.