Kactoos

kactoos-jvm / nnl.rocks.kactoos.io / DigestEnvelope

DigestEnvelope

abstract class DigestEnvelope : Bytes

Digest Envelope.

There is no thread-safety guarantee.

Parameters

source - The input

size - Buffer size

algorithm - The algorithm

Since 0.3

Constructors

Name Summary
<init> DigestEnvelope(input: Input, algrthm: String)DigestEnvelope(source: Input, size: Int, algorithm: String)
Digest Envelope.

Functions

Name Summary
asBytes open fun asBytes(): ByteArray
Convert it to the byte array.

Inheritors

Name Summary
Md5DigestOf class Md5DigestOf : DigestEnvelope
MD5 checksum calculation of Input.
Sha1DigestOf class Sha1DigestOf : DigestEnvelope
SHA-1 checksum calculation of Input.
Sha256DigestOf class Sha256DigestOf : DigestEnvelope
SHA-256 checksum calculation of Input.