hmac-md
Hmac
implementations for MD Hash-based Message Authentication Codes
Implementations for:
HmacMD5
See HERE for basic usage example of Mac
.
// Using CryptoRand from KotlinCrypto/random repo as an example
import org.kotlincrypto.random.CryptoRand
// ...
fun main() {
val key = CryptoRand.Default.nextBytes(ByteArray(100))
HmacMD5(key)
}
Content copied to clipboard