io.sureshg.extn / kotlin.String / hmacSHA1

hmacSHA1

fun String.hmacSHA1(key: String): ByteArray

Encrypt this string with HMAC-SHA1 using the specified key.

Parameters

key - Encryption key

Return
Encrypted output