Companion

expect object Companion
actual object Companion
actual object Companion

Functions

Link copied to clipboard
expect fun hmacSha1(source: Source, key: ByteString): HashingSource

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

actual fun hmacSha1(source: Source, key: ByteString): HashingSource

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

actual fun hmacSha1(source: Source, key: ByteString): HashingSource

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

Link copied to clipboard
expect fun hmacSha256(source: Source, key: ByteString): HashingSource

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

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

actual fun hmacSha256(source: Source, key: ByteString): HashingSource

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

Link copied to clipboard
expect fun hmacSha512(source: Source, key: ByteString): HashingSource

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

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

actual fun hmacSha512(source: Source, key: ByteString): HashingSource

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

Link copied to clipboard
expect fun md5(source: Source): HashingSource

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

actual fun md5(source: Source): HashingSource

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

actual fun md5(source: Source): HashingSource

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

Link copied to clipboard
expect fun sha1(source: Source): HashingSource

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

actual fun sha1(source: Source): HashingSource

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

actual fun sha1(source: Source): HashingSource

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

Link copied to clipboard
expect fun sha256(source: Source): HashingSource

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

actual fun sha256(source: Source): HashingSource

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

actual fun sha256(source: Source): HashingSource

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

Link copied to clipboard
expect fun sha512(source: Source): HashingSource

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

actual fun sha512(source: Source): HashingSource

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

actual fun sha512(source: Source): HashingSource

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