# Chiffrement et déchiffrement de fichiers

> Chiffre des fichiers locaux avec un format authentifié éprouvé et les restaure.

[Open tool](https://www.toolcabana.com/fr/file-encryption-and-decryption) · [Confidentialité et sécurité](https://www.toolcabana.com/fr/category/privacy-and-security-education)

Tool ID: file-encryption-and-decryption. Requested language: fr. Description language: fr. Complete guide translation: yes.

## Overview (en)

File encryption and decryption locks a single file with a passphrase using AES-256-GCM, with the key derived through PBKDF2-SHA256 at 600,000 iterations, and saves it with a .thenc extension. Choose decrypt and enter the same passphrase to restore the original. Passphrases must be 12 to 1000 characters and cannot be recovered. Independent cryptographic review remains pending.

## Supported tasks (fr)

Utilise AES-256-GCM en local avec PBKDF2-SHA256 à 600 000 itérations et un format binaire ToolCabana v1. La phrase secrète n'est ni stockée ni récupérable. Une revue cryptographique indépendante reste en attente.

## Steps (fr)

1. Choisissez un fichier source. Si l'outil accepte plusieurs fichiers, classez-les dans l'ordre souhaité.
2. Définissez l'action et la phrase secrète (12 caractères minimum).
3. Lancez le chiffrement ou le déchiffrement de fichiers, vérifiez le résultat, puis utilisez les commandes de copie ou de téléchargement disponibles.

## Settings

- Action (fr; key: action; type: select): chiffrer [fr], déchiffrer [fr]
- Phrase secrète (12 caractères minimum) (fr; key: password; type: password)

## Limitations (fr)

Jusqu'à 200 fichiers, 20 MB chacun et 100 MB au total. Les PDF sont limités à 500 pages, les planches contact à 100 pages, et les arborescences de signets à 1 000 entrées et 20 niveaux d'imbrication. Chaque opération applique des limites de sortie plus strictes.

## Privacy and connections (fr)

Cette opération traite sa source dans votre navigateur. La copie et le téléchargement sont des actions explicites ; la saisie source n'est enregistrée dans aucun compte ni dans l'historique.

## Questions (fr)

### What happens if I forget the encryption passphrase?

The file cannot be decrypted. The passphrase is not stored anywhere and there is no recovery option, so keep it in a password manager. A wrong passphrase produces the error Decryption failed: wrong passphrase or altered file.

### Can the tool tell if an encrypted file was modified?

Yes. AES-GCM authenticates the data, and the file header is bound to it as additional data, so any change makes decryption fail with the same error as a wrong passphrase. The tool cannot tell which of the two caused the failure.

### Can other programs open .thenc encrypted files?

The output uses a custom binary layout: an 8-byte header, a 16-byte salt, a 12-byte IV and the ciphertext. Standard archive or encryption apps will not recognize it, so keep access to a compatible copy of this tool for decryption.

### Où ma saisie est-elle traitée ?

Cette opération traite sa source dans votre navigateur. La copie et le téléchargement sont des actions explicites ; la saisie source n'est enregistrée dans aucun compte ni dans l'historique.

### Quelles sont les limites de saisie ?

Jusqu'à 200 fichiers, 20 MB chacun et 100 MB au total. Les PDF sont limités à 500 pages, les planches contact à 100 pages, et les arborescences de signets à 1 000 entrées et 20 niveaux d'imbrication. Chaque opération applique des limites de sortie plus strictes.

## Related tools

- [Password strength estimator](https://www.toolcabana.com/fr/password-strength-estimator)
- [Sensitive data masking tool](https://www.toolcabana.com/fr/sensitive-data-masking-tool)
- [Content Security Policy analyzer](https://www.toolcabana.com/fr/content-security-policy-analyzer)
- [Certificate signing request decoder](https://www.toolcabana.com/fr/certificate-signing-request-decoder)
