Jeudi 13 mars 2008
bcrypt

Pour sécuriser l'accès à un fichier pas besoin de truecrypt ou ssh...
Il existe petit logiciel bcrypt basé sur l'algorithme Blowfish.

max@linux-pc:~> bcrypt
Usage is: bcrypt -[orc][-sN] file1 file2..
-o Write output to standard out
-r Do NOT remove input files after processing
-c Do NOT compress files before encryption
-sN How many times to overwrite input files with random data

Un mot de passe vous est demandé (au moins 8 caractères de long ).
Bcrypt encrypte votre fichier et lui rajoute l'extension bfe.
Le fichier original est automatiquement supprimé.
Pour éviter cette suppression, utilisez bcrypt avec l'option -r

Mise en pratique :
max@linux-pc:~> cat > mon_fichier
hello
etc

Cryptage
:
max@linux-pc:~> bcrypt mon_fichier
Encryption key:
Again:
max@linux-pc:~> ls -l
--------------------------------------------
-rw-r--r-- 1 max users mon_fichier.bfe
--------------------------------------------

Decryptage :
max@linux-pc:~> bcrypt mon_fichier.bfe
Encryption key:
max@linux-pc:~> cat mon_fichier
hello
etc

homepage du projet




par calvus publié dans : Logiciels
ajouter un commentaire commentaires (0)    recommander

...........

Catégories

blog annuaire sur over-blog.com - Contact - C.G.U. - Rémunération en droits d'auteur avec TF1 Network - Signaler un abus