default: {
decrypt: (
passphrase: string,
encryptedText: string,
debug?: boolean,
) => string;
encrypt: (passphrase: string, plainText: string, debug?: boolean) => string;
}
Type declaration
decrypt: (passphrase: string, encryptedText: string, debug?: boolean) => string
encrypt: (passphrase: string, plainText: string, debug?: boolean) => string
See
https://www.webmanajemen.com/2019/07/phpjs-cryptojs-encrypt-decrypt.html