HashAlgorithm

enum class HashAlgorithm

Hash algorithms

Enum Values

NONE

MD5

SHA1

SHA224

SHA256

SHA384

SHA512

Properties

code

val code: Byte

numeric hash algorithm code

macName

val macName: String

openSSLName

val openSSLName: String

is a name used in openssl for this algorithm

Companion Object Functions

byCode

fun byCode(code: Byte): HashAlgorithm

Find hash algorithm instance by it’s numeric code