Circe.hash

Derives a 256 bit key from data.

class Circe
static pure pragma(inline)
ubyte[]
hash
(
ubyte[] data
,
ulong seed = 0
)

Parameters

data ubyte[]

Data to hash and derive from.

seed ulong

Seed of the hash. (IV)

Return Value

Type: ubyte[]

The new key derived from data.

Remarks: Does not validate the length of data.

Meta