Decrypts a URL-safe Base64 encoded ciphertext using AES-256-GCM.
The process is as follows:
secret
The URL-safe Base64 encoded ciphertext. Must be a non-empty string.
The secret passphrase used for encryption. Must be a non-empty string.
The decrypted and decompressed plaintext string.
Error If input or secret is empty.
input
Error If the decryption or decompression process fails.
Decrypts a URL-safe Base64 encoded ciphertext using AES-256-GCM.
The process is as follows:
secretand extracted salt.