ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Encrypt single file?

<< < (2/4) > >>

jgpaiva:
Not really. As you can see, dsCrypt accept both methods.
-Lashiec (July 18, 2007, 04:56 PM)
--- End quote ---
Unfortunatelly, apparently that only stands for the GUI version. The GUI version can create key files, to be used with both the GUI and the CLI version. But the CLI version, can only get key files as input :(

f0dder:
No, wouldn't be very safe...

RAR could be a choice too btw, it compresses and encrypts, using AES.

app103:
Maybe you could talk Martin into adding the command line features you want/need to Ligare.

Edvard:
One more: OpenSSL
Here's a Windows port: http://www.slproweb.com/products/Win32OpenSSL.html
and usage: http://www.openssl.org/docs/apps/enc.html

The enc function allows encryption with either keys or password, with the -salt option it won't make the same key from the same password.

Looks like you can encrypt with Base 64, Blowfish, CAST, DESX, IDEA, RC2, 4 and 5 in many different modes.

Nice.

mwb1100:
You might want to look at GnuPG.   It's been a while since I've used it, but you could encrypt using a passphrase with the command:


--- ---echo testing123|gpg --symmetric --passphrase-fd 0 --output EncryptedFilename FilenameToEncrypt

If you want the encrypted file to be email-safe you can also have it ASCII-encoded:


--- ---echo testing123|gpg --symmetric --passphrase-fd 0 --output EncryptedFilename --armour FilenameToEncrypt

Decrypt like so:

--- ---echo testing123|gpg -d --passphrase-fd 0 --output UnEncryptedFilename EncryptedFilename

The echo command pipes the passphrase into stdin for the gpg command.  The "--passphrase-fd 0" option tells gpg to grab the passphrase from stdin.  They used to have a plain old "--passphrase" option that let you give it on the gpg command itself, but they considered that too insecure (what a pain).

If you leave off the "--passphrase-fd 0" option (leave off the echo command as well), gpg will prompt you for a passphrase.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version