HashAlgorithm Property
The HMAC Hash Algorithm.
Syntax
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)