Skip to content

Gun-Vue docs v0.21.4Docs


Gun-Vue docs v0.21.4 / Crypto / hashObj

Function: hashObj()

hashObj(obj): Promise<object>

Generates a SHA-256 hash for the given object.

Parameters

obj: any

The object to hash.

Returns

Promise<object>

  • The generated hash and stringified object.

hash

hash: string

hashed

hashed: string

Defined in

src/crypto/useCrypto.js:76

MIT