hashAlgorithm (property)
The HMAC Hash Algorithm.
Syntax
@property (nonatomic,readwrite,assign,getter=hashAlgorithm,setter=setHashAlgorithm:) int hashAlgorithm; - (int)hashAlgorithm; - (void)setHashAlgorithm:(int)newHashAlgorithm;
/* Possible Values */
HA_SHA1(0),
HA_SHA256(1),
HA_SHA512(2)
public var hashAlgorithm: OcraHashAlgorithms { get {...}
set {...} }
public enum OcraHashAlgorithms : Int32 { case haSHA1 = 0 case haSHA256 = 1 case haSHA512 = 2 }
Default Value
0
Remarks
This property specifies the hash algorithm used by the class. Possible values are:
- 0 (SHA-1 - default)
- 1 (SHA-256)
- 2 (SHA-512)