Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 474 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 474 Bytes

Module 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)
}