tern.digest

Digests and ingests for various cryptography algorithms.

Modules

adler32
module tern.digest.adler32

Implementation of Adler-32 digester.

anura
module tern.digest.anura

Implementation of Anura digester.

berus
module tern.digest.berus

Implementation of Berus digester.

chacha20
module tern.digest.chacha20

Implementation of ChaCha20 digester.

cipher
module tern.digest.cipher

Implements all encrypting digests.

circe
module tern.digest.circe

Implementation of Circe digester.

cityhash
module tern.digest.cityhash

Implementation of CityHash digester.

crc32
module tern.digest.crc32

Implementation of CRC32 digester.

djb2
module tern.digest.djb2

Implementation of DJB2 digester.

elfhash
module tern.digest.elfhash

Implementation of ELFHash digester.

fnv1
module tern.digest.fnv1

Implementation of FNV1 digester.

gimli
module tern.digest.gimli

Implementation of Gimli digester.

hash
module tern.digest.hash

Implements all hashing digests.

hight
module tern.digest.hight

Implementation of HIGHT digester.

md5
module tern.digest.md5

Implementation of MD5 digester.

mira
module tern.digest.mira

Implementation of Mira digesters.

murmurhash
module tern.digest.murmurhash

Implementation of MurmurHash digester.

pira
module tern.digest.pira
Undocumented in source.
rc4
module tern.digest.rc4

Implementation of RC4 digester.

ripemd
module tern.digest.ripemd

Implementation of RIPEMD digester.

salsa20
module tern.digest.salsa20

Implementation of Salsa20 digester.

sha
module tern.digest.sha

Implementation of SHA digesters.

superfasthash
module tern.digest.superfasthash

Implementation of SuperFastHash digester.

tea
module tern.digest.tea

Implementation of TEA digesters.

xxhash
module tern.digest.xxhash

Implementation of XXHash digester.

Members

Aliases

isDigest
alias isDigest(T) = Alias!(seqContains!(digester, __traits(getAttributes, T)))

True if T is a digester of any kind.

isEncryptingDigest
alias isEncryptingDigest(T) = Alias!(isDigest!T && hasStaticMember!(T, "encrypt"))

True if T is an encrypting digester.

isHashingDigest
alias isHashingDigest(T) = Alias!(isDigest!T && hasStaticMember!(T, "hash"))

True if T is an hashing digester.

Enums

digester
enum digester

Attribute for marking a class as a digester, must implement encrypt or hash

Static functions

digest
auto digest(ARGS args)

Digests arguments by the given provider T. T must either have a encrypt or hash function present.

digest
auto digest(ARGS args)

Digests arguments by the given provider T T must either have a encrypt or hash function present.

ingest
auto ingest(ARGS args)

Ingests arguments by the given provider T T must either have a decrypt or hash function present.

ingest
auto ingest(ARGS args)

Ingests arguments by the given provider T T must either have a decrypt or hash function present.

toHexString
string toHexString(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta