Companion

expect object Companion
actual object Companion
actual object Companion

Functions

Link copied to clipboard
expect fun hmacSha1(sink: Sink, key: ByteString): HashingSink

Returns a sink that uses the obsolete SHA-1 HMAC algorithm to produce 160-bit hashes.

actual fun hmacSha1(sink: Sink, key: ByteString): HashingSink

Returns a sink that uses the obsolete SHA-1 HMAC algorithm to produce 160-bit hashes.

actual fun hmacSha1(sink: Sink, key: ByteString): HashingSink

Returns a sink that uses the obsolete SHA-1 HMAC algorithm to produce 160-bit hashes.

Link copied to clipboard
expect fun hmacSha256(sink: Sink, key: ByteString): HashingSink

Returns a sink that uses the SHA-256 HMAC algorithm to produce 256-bit hashes.

Returns a sink that uses the SHA-256 HMAC algorithm to produce 256-bit hashes.

actual fun hmacSha256(sink: Sink, key: ByteString): HashingSink

Returns a sink that uses the SHA-256 HMAC algorithm to produce 256-bit hashes.

Link copied to clipboard
expect fun hmacSha512(sink: Sink, key: ByteString): HashingSink

Returns a sink that uses the SHA-512 HMAC algorithm to produce 512-bit hashes.

Returns a sink that uses the SHA-512 HMAC algorithm to produce 512-bit hashes.

actual fun hmacSha512(sink: Sink, key: ByteString): HashingSink

Returns a sink that uses the SHA-512 HMAC algorithm to produce 512-bit hashes.

Link copied to clipboard
expect fun md5(sink: Sink): HashingSink

Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.

actual fun md5(sink: Sink): HashingSink

Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.

actual fun md5(sink: Sink): HashingSink

Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.

Link copied to clipboard
expect fun sha1(sink: Sink): HashingSink

Returns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.

actual fun sha1(sink: Sink): HashingSink

Returns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.

actual fun sha1(sink: Sink): HashingSink

Returns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.

Link copied to clipboard
expect fun sha256(sink: Sink): HashingSink

Returns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.

actual fun sha256(sink: Sink): HashingSink

Returns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.

actual fun sha256(sink: Sink): HashingSink

Returns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.

Link copied to clipboard
expect fun sha512(sink: Sink): HashingSink

Returns a sink that uses the SHA-512 hash algorithm to produce 512-bit hashes.

actual fun sha512(sink: Sink): HashingSink

Returns a sink that uses the SHA-512 hash algorithm to produce 512-bit hashes.

actual fun sha512(sink: Sink): HashingSink

Returns a sink that uses the SHA-512 hash algorithm to produce 512-bit hashes.