Companion

object Companion

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
open fun hashCode(): Int
hmacSha1
Link copied to clipboard
common
fun hmacSha1(sink: Sink, key: ByteString): HashingSink
Returns a sink that uses the obsolete SHA-1 HMAC algorithm to produce 160-bit hashes.
fun hmacSha1(sink: Sink, key: ByteString): HashingSink
Returns a sink that uses the obsolete SHA-1 HMAC algorithm to produce 160-bit hashes.
hmacSha256
Link copied to clipboard
common
fun hmacSha256(sink: Sink, key: ByteString): HashingSink
Returns a sink that uses the SHA-256 HMAC algorithm to produce 256-bit hashes.
fun hmacSha256(sink: Sink, key: ByteString): HashingSink
Returns a sink that uses the SHA-256 HMAC algorithm to produce 256-bit hashes.
hmacSha512
Link copied to clipboard
common
fun hmacSha512(sink: Sink, key: ByteString): HashingSink
Returns a sink that uses the SHA-512 HMAC algorithm to produce 512-bit hashes.
fun hmacSha512(sink: Sink, key: ByteString): HashingSink
Returns a sink that uses the SHA-512 HMAC algorithm to produce 512-bit hashes.
md5
Link copied to clipboard
common
fun md5(sink: Sink): HashingSink
Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.
fun md5(sink: Sink): HashingSink
Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.
sha1
Link copied to clipboard
common
fun sha1(sink: Sink): HashingSink
Returns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.
fun sha1(sink: Sink): HashingSink
Returns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.
sha256
Link copied to clipboard
common
fun sha256(sink: Sink): HashingSink
Returns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.
fun sha256(sink: Sink): HashingSink
Returns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.
sha512
Link copied to clipboard
common
fun sha512(sink: Sink): HashingSink
Returns a sink that uses the SHA-512 hash algorithm to produce 512-bit hashes.
fun sha512(sink: Sink): HashingSink
Returns a sink that uses the SHA-512 hash algorithm to produce 512-bit hashes.
toString
Link copied to clipboard
open fun toString(): String
open fun toString(): String