This page collects the most common questions users ask about Secure Crypt — from the basics of password security and file handling to specifics of the Force Lock feature and cross-platform compatibility. If you have a question that is not answered here, refer to the Encryption Details or File Format reference pages.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Anzi001/Secure-Crypt/llms.txt
Use this file to discover all available pages before exploring further.
Can I recover my file if I forget the password?
Can I recover my file if I forget the password?
Why does the app show 'Mandatory lock. Use Quick View.'?
Why does the app show 'Mandatory lock. Use Quick View.'?
0x4D (ASCII 'M') as the first byte of the file header.When you later attempt a permanent Unlock File or Unlock Folder operation, Secure Crypt reads that flag byte before prompting for a password. If it equals b'M', the permanent unlock is rejected immediately and the message is shown.To access the file, use ⚡ Quick View File or ⚡ Quick View Folder instead. Quick View will decrypt the file into a temporary directory, let you view or edit it, and then re-lock it with the same flag preserved when you click Save Edits & Relock.Is the original file deleted when I lock it?
Is the original file deleted when I lock it?
.scrypt or .scryptfold file to disk and then deletes the original. The encrypted file takes the place of the original.This means there is no plaintext copy remaining after a successful lock operation. If you are not completely certain about your password, keep a separate backup of the original file before locking it.Can I use Secure Crypt on multiple platforms with the same file?
Can I use Secure Crypt on multiple platforms with the same file?
.scrypt and .scryptfold formats are fully cross-platform. A file encrypted on Windows can be decrypted on macOS or Linux — and vice versa — using the same password.The file format is a raw binary layout (a 29-byte header followed by AES-GCM ciphertext) with no platform-specific components. The cryptographic operations use the same underlying OpenSSL routines on all supported platforms through the PyCA cryptography library.What happens if the encrypted file is corrupted or tampered with?
What happens if the encrypted file is corrupted or tampered with?
InvalidTag exception and displays:“Incorrect password or corrupted data.”There is no way to partially decrypt a corrupted AES-GCM file. The authentication check is all-or-nothing by design.
Does Quick View leave any traces of the decrypted file?
Does Quick View leave any traces of the decrypted file?
- The decrypted file or folder is written to a temporary directory created by
tempfile.mkdtemp(). - After you click Save Edits & Relock, the entire temporary directory is deleted with
shutil.rmtree(). - The clipboard is cleared immediately after re-locking (
clipboard_clear()followed byclipboard_append('')).
Can I lock multiple files at once?
Can I lock multiple files at once?
.scryptfold file.What is the .scryptfold extension?
What is the .scryptfold extension?
.scryptfold is the file extension Secure Crypt uses for encrypted folders. Internally, a .scryptfold file is an AES-256-GCM encrypted ZIP archive of the original folder.When you lock a folder, Secure Crypt:- Compresses the entire folder tree into a ZIP archive in memory using Python’s
zipfilemodule. - Encrypts the ZIP bytes as a single blob using AES-256-GCM.
- Prepends the 29-byte header (flag + salt + nonce) and writes the result to disk as
<folder-name>.scryptfold.
Does Secure Crypt work as a library or API?
Does Secure Crypt work as a library or API?
vault_engine.py module is an internal module used exclusively by the GUI — it is not published to PyPI and has no stable public API, versioned interface, or documented entry points intended for external use.If you need programmatic AES-256-GCM encryption in Python, use the PyCA cryptography library directly:How do I build from source?
How do I build from source?
requirements.txt:pyinstaller invocation for Windows, macOS, and Linux.