Uses of Class
okio.HashingSource
-
Uses of HashingSource in okio
Methods in okio that return HashingSourceModifier and TypeMethodDescriptionstatic 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
Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.static HashingSource
Returns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.static HashingSource
Returns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.