sha1

expect fun sha1(): ByteString
actual fun sha1(): ByteString

Returns the 160-bit SHA-1 hash of this buffer.

SHA-1 has been vulnerable to collisions since 2017. It should not be used in new code.

actual fun sha1(): ByteString