Gun-Vue docs v0.21.4 • Docs
Gun-Vue docs v0.21.4 / Crypto / hashText
Function: hashText()
hashText(
text
):Promise
<string
>
Generates a SHA-256 hash for the given text.
Parameters
• text: string
The text to hash.
Returns
Promise
<string
>
- The generated hash.