- Index
- »
- fan.crypto
- »
- Digest
Digest
const mixin Digest
A message digest algorithm
Update the digest with four byte / 32-bit integer
Get the computed digest size in bytes
Update the digest using only the 8-bit characters in given string
Update the digest with one byte / 8-bit integer
Complete the digest computation and return the hash
Reset the digest
Update the digest using all the bytes in the buf (regardless of current position)
Update the digest with eight byte / 64-bit integer
Get the digest algorithm name
abstract Str algorithm()
Get the digest algorithm name
abstract Buf digest()
Complete the digest computation and return the hash. The digest is reset after this method is called.
abstract Int digestSize()
Get the computed digest size in bytes
abstract This reset()
Reset the digest. Return this.
abstract This update(Buf buf)
Update the digest using all the bytes in the buf (regardless of current position). Return this.
abstract This updateAscii(Str str)
Update the digest using only the 8-bit characters in given string. Return this.
abstract This updateByte(Int i)
Update the digest with one byte / 8-bit integer. Return this.
abstract This updateI4(Int i)
Update the digest with four byte / 32-bit integer. Return this.
abstract This updateI8(Int i)
Update the digest with eight byte / 64-bit integer. Return this.