MessageDigest.calculate

Calculates the hash a.k.a. message digest from the input data.

Discards the result of a previous hash calculation, invalidating and overwriting a previously returned result.

The length of the returned hash is the return value of gcry_md_get_algo_dlen(algorithm) for the algorithm passed to the constructor of this class.

class MessageDigest
ubyte[]
calculate
(
const(ubyte)[][] input_data...
)

Parameters

input_data const(ubyte)[][]

data to hash; the elements will be concatenated

Return Value

Type: ubyte[]

the resuting hash.

Meta