Package | Description |
---|---|
okio |
Modifier and Type | Method and Description |
---|---|
static HashingSink |
HashingSink.hmacSha1(Sink sink,
ByteString key)
Returns a sink that uses the obsolete SHA-1 HMAC algorithm to produce 160-bit hashes.
|
static HashingSink |
HashingSink.hmacSha256(Sink sink,
ByteString key)
Returns a sink that uses the SHA-256 HMAC algorithm to produce 256-bit hashes.
|
static HashingSink |
HashingSink.hmacSha512(Sink sink,
ByteString key)
Returns a sink that uses the SHA-512 HMAC algorithm to produce 512-bit hashes.
|
static HashingSink |
HashingSink.md5(Sink sink)
Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.
|
static HashingSink |
HashingSink.sha1(Sink sink)
Returns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.
|
static HashingSink |
HashingSink.sha256(Sink sink)
Returns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.
|
static HashingSink |
HashingSink.sha512(Sink sink)
Returns a sink that uses the SHA-512 hash algorithm to produce 512-bit hashes.
|
Copyright © 2017. All rights reserved.