Skip to main content

decryptStoreArea

tw5-typed


tw5-typed / modules/utils/crypto / decryptStoreArea

Function: decryptStoreArea()

decryptStoreArea(encryptedStoreArea, password?): unknown[]

Defined in: src/modules/utils/crypto.d.ts:15

Attempts to decrypt an encrypted store area using the provided password.

Parameters

encryptedStoreArea

string

The encrypted store area to decrypt.

password?

string

The password to use for decryption.

Returns

unknown[]

An array of decrypted tiddlers, or null if decryption fails.