Skip to content

Gun-Vue docs v0.21.4Docs


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.

Defined in

src/crypto/useCrypto.js:65

MIT