ddh

Main module that handles various hashing algorithms at run-time.

Members

Enums

DDHType
enum DDHType

Choose which checksum or hash will be used

Functions

ddh_compute
void ddh_compute(DDH_T ddh, ubyte[] data)

Compute a block of data

ddh_digest_size
uint ddh_digest_size(DDH_T ddh)

Get the digest size in bytes

ddh_finish
ubyte[] ddh_finish(DDH_T ddh)

Finalize digest or checksum

ddh_init
bool ddh_init(DDH_T ddh, DDHType type)

Initiates a DDH_T structure with an DDHType value.

ddh_reset
void ddh_reset(DDH_T ddh)

Re-initiates the DDH session.

ddh_string
char[] ddh_string(DDH_T ddh)

Finalize digest or checksum and return formatted Finalize and return formatted diggest

Structs

DDHInfo
struct DDHInfo
DDH_T
struct DDH_T

Main structure

Templates

DGSTSZ
template DGSTSZ(DDHType type)
Undocumented in source.

Variables

meta_info
DDHInfo[] meta_info;

Structure information

Meta

Authors

dd86k <dd@dax.moe>

License

Public domain