Decrypt a file (.s3enc)
crypto_file_decryptDecrypt .s3enc files, verify every chunk, and restore the original file under its sanitised name; wrong passwords or damaged files are reported and no output is written.
Instructions
Decrypt an .s3enc file made by the S3eidat File Encrypt website or crypto_file_encrypt, verify every chunk, and write the original file back under its stored (sanitised) name. A wrong password, damage, truncation or reordering is reported and nothing is written. Web version: https://s3eidat.github.io/file-encrypt/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The .s3enc file: a local file path (absolute, or relative to the server's --root) or base64 data (raw or a data: URI). | |
| output | No | Where to write the decrypted file: a file path, or a folder ending in "/" (keeps the stored name). Default: the server output folder. | |
| password | Yes | The password. Normalised to Unicode NFC first, like the website. | |
| returnBase64 | No | Also return the output as base64 in the result (only for small files). Default false. |