hash

fun hash(algorithm: String, data: ByteArray): ByteArray
fun hash(algorithm: String, data: String): ByteArray