Gun-Vue docs v0.21.4 • Docs
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