Skip to content

encodeObjectAsStr

encodeObjectAsStr(value): string

Stringifies numbers, booleans, and objects. Object keys are sorted to yield consistent hashing.

Parameters

value: any

Object or value to be hashed.

Returns

string

Stringified representation of the given object.

Source

utils/src/Crypto.ts:164