HmacAlgorithm

enum HmacAlgorithm : Enum<HmacAlgorithm>

Available "keyed-hash message authentication code" (HMAC) algorithms. See: https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#Mac

Entries

Link copied to clipboard

SHA1 HMAC with a hash of 20-bytes

Link copied to clipboard

SHA256 HMAC with a hash of 32-bytes

Link copied to clipboard

SHA512 HMAC with a hash of 64-bytes

Properties

Link copied to clipboard
val hashBytes: Int

the length of the returned hash produced by the algorithm.

Link copied to clipboard
val macAlgorithmName: String

the name of the algorithm used for javax.crypto.Mac.getInstance(java.lang.String)

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int