Skip to content

crelte / ssr / calcKey

Function: calcKey()

ts
function calcKey(data): Promise<string>;

Calculates a key based on the json representation of the data

If available hashes the data using SHA-1

Parameters

data

any

Returns

Promise<string>