SHA_1

SHA-1 with output size of 160 bits

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Create a Digest of the Algorithm for creating hashes

Link copied to clipboard
open fun createHmac(key: ByteArray, outputLength: Int? = null): Digest<*>

Create an HMAC Digest of the Algorithm for creating hashes

Link copied to clipboard
fun hash(input: ByteArray): ByteArray

Create a hash of input using the Algorithm

Link copied to clipboard
open fun hmac(key: ByteArray, input: ByteArray, outputLength: Int? = null): ByteArray

Create an HMAC hash of input using the Algorithm