Uses of Class
okio.HashingSink

  • Uses of HashingSink in okio

    Methods in okio that return HashingSink
    Modifier and Type
    Method
    Description
    HashingSink.hmacSha1(Sink sink, ByteString key)
    Returns a sink that uses the obsolete SHA-1 HMAC algorithm to produce 160-bit hashes.
    HashingSink.hmacSha256(Sink sink, ByteString key)
    Returns a sink that uses the SHA-256 HMAC algorithm to produce 256-bit hashes.
    HashingSink.hmacSha512(Sink sink, ByteString key)
    Returns a sink that uses the SHA-512 HMAC algorithm to produce 512-bit hashes.
    HashingSink.md5(Sink sink)
    Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.
    HashingSink.sha1(Sink sink)
    Returns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.
    HashingSink.sha256(Sink sink)
    Returns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.
    HashingSink.sha512(Sink sink)
    Returns a sink that uses the SHA-512 hash algorithm to produce 512-bit hashes.