Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun blake3(bytes: ByteArray): String
fun blake3(bytes: ByteArray, key: XdmValue): String
fun blake3(context: ByteArray, sharedSecret: XdmValue, senderId: XdmValue, recipientId: XdmValue): String
Link copied to clipboard
fun crc(bytes: ByteArray, version: String): String
Link copied to clipboard
fun hmac(bytes: ByteArray, key: String): String

Computes RFC 2104-compliant HMAC signature. Copied/modified slightly from amazon.webservices.common.Signature Contributed by Henry Thompson, used with permission

Link copied to clipboard
fun md(bytes: ByteArray, version: String): String
Link copied to clipboard
fun sha(bytes: ByteArray, version: String): String