kactoos-jvm / nnl.rocks.kactoos.io / DigestEnvelope
abstract class DigestEnvelope :
Bytes
Digest Envelope.
There is no thread-safety guarantee.
source
- The input
size
- Buffer size
algorithm
- The algorithm
Since 0.3
Name | Summary |
---|---|
<init> | DigestEnvelope(input: Input , algrthm: String ) DigestEnvelope(source: Input , size: Int , algorithm: String ) Digest Envelope. |
Name | Summary |
---|---|
asBytes | open fun asBytes(): ByteArray Convert it to the byte array. |
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. |