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(): ByteArrayConvert it to the byte array. |
| Name | Summary |
|---|---|
| Md5DigestOf | class Md5DigestOf : DigestEnvelopeMD5 checksum calculation of Input. |
| Sha1DigestOf | class Sha1DigestOf : DigestEnvelopeSHA-1 checksum calculation of Input. |
| Sha256DigestOf | class Sha256DigestOf : DigestEnvelopeSHA-256 checksum calculation of Input. |