Skip to content

griz decrypt

Decrypts text and files.

Note

When passing in text on the command line, we recommend encasing it in quotes (ie "Secret Message"). Command line arguments are parsed by the shell in their own way, and special characters could cause them to be interpreted differently than expected.

Flags

flag Description
--file The file to decrypt. This can be used multiple times
--out-dir The directory to decrypt files to
--out-file The resulting decrypted file location. This flag is also valid when passing in text on the command line. The resulting decrypted text will be written to a file.
--overwrite Overwrites an existing file if it already exists

Examples

# Decrypt encrypted text
griz decrypt "<base64-encrypted-text>"

# Decrypt a single file
griz decrypt --file ./file.txt.grizzly

# Decrypt multiple files to a different directory and overwrite existing files
griz decrypt --file ./some/file/path.txt.grizzly -f ./some/other/other.txt.grizzly --out-dir /dir --overwrite