library / org.akop.kotx.ext.basic / kotlin.ByteArray / sha1

sha1

fun ByteArray.sha1(): ByteArray

Computes SHA1 hash for the byte array using MessageDigest.

Return
SHA1 hash for the byte array.