Skip to content

encodeObjectAsStr

encodeObjectAsStr(value): string

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

value: any

Object or value to be hashed.

string

Stringified representation of the given object.

utils/src/Crypto.ts:164