Modifier and Type | Method | Description |
---|---|---|
static HashingSource |
HashingSource.hmacSha1(Source source,
ByteString key) |
Returns a sink that uses the obsolete SHA-1 HMAC algorithm to produce 160-bit hashes.
|
static HashingSource |
HashingSource.hmacSha256(Source source,
ByteString key) |
Returns a sink that uses the SHA-256 HMAC algorithm to produce 256-bit hashes.
|
static HashingSource |
HashingSource.md5(Source source) |
Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.
|
static HashingSource |
HashingSource.sha1(Source source) |
Returns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.
|
static HashingSource |
HashingSource.sha256(Source source) |
Returns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.
|
Copyright © 2018. All rights reserved.