201
General Software Discussion / Re: Solid, command-line file encryption tool?
« Last post by AbteriX on February 26, 2012, 02:43 PM »I have known a few but never used, and forgot them all at the moment.
One i still have in my collection is this, maybe it is from interest?
Can only say it have worked with some small test files... but nothing more.
The encrypted file is BASE64 encoded
There is even an script to use it from XYplorer;
One i still have in my collection is this, maybe it is from interest?
Can only say it have worked with some small test files... but nothing more.
Code: Text [Select]
- MySecret Blowfish Encryption Utility
- Version 3.1.1 Released 9 June 2007.
- TO INSTALL
- 1. Copy the file MYSECRET.EXE into a directory on your PC's path,
- e.g. C:\Windows or C:\WINNT
- 2. That's it!
- SYNTAX
- Usage: MySecret [OPTIONS] [-p password] [[-i] infile [[-o] outfile]]
- OPTIONS:
- -?|-h display this Help
- -e|-d force Encrypt/Decrypt
- -n do Not ask to confirm password
- -w Warn before overwriting existing outfile
- -2 use v2.0 algorithm (no compression)
- -@ use stdin/stdout pipes if in/outfile not given
- -L display licence conditions
- EXAMPLES:
- MySecret (=clipboard-mode, prompts for password)
- MySecret -p "my pass phrase"
- MySecret infile outfile (=file-mode)
- MySecret -@ infile (output to stdout)
- MySecret -@ -o outfile (input from stdin)
- MySecret -@ (input from stdin/output to stdout)
- For more information go to <http://www.di-mgt.com.au/mysecret.html>
The encrypted file is BASE64 encoded
Code: Text [Select]
- -----BEGIN MYSECRET-----
- TVn8AJd6uSAqarO1xZh78NUQWMXXfNb+F0K0yYmijYjf//JOmY8ecQUCJmh9
- b1hIVJKjdUad8FtsdjGGsAJ5whHh71ajI492oIH/OeHBM+LyMRS8qB80EqPa
- FQ6VxgXsOmV3B7LBKYyVKRcUL+Czwwj9PQL/dbFVcumqK/ppaU3pfTVVfzbU
- urKDVtqVMcBxbEe8F4LRC7K23PB7l1M3aO/oZaRxCiPznmFj9HiSnenHiajc
- InDb7n5F1v40Abx8XyL9a6yRhRWHbEWMvDJYc1UjEqu3wp+oJccdTpSERBfT
There is even an script to use it from XYplorer;
Code: Javascript [Select]
- /*
- ===================================================================================
- INSTRUCTIONS
- Download the latest version of MySecret.zip (47 kB) from http://www.di-mgt.com.au/mysecret.html
- Unzip the MySecret.zip into an folder, e.g. into "<xypath>\Tools\MySecret\..."
- Save this script e.g. as "MySecret.xys" into "<xypath>\Scripts\..." folder
- USING
- Select one file
- Launch this script, e.g. from menu "Scripting > Load Script File... > MySecret.xys"
- From the dialog choose "Encrypt" [or "Decrypt"]
- The resulting output is encrypted and encoded using base64 encoding, ready to mail it.
- ===================================================================================
- */
- "Encrypt"
- // creates an new, encrypted file with additional 'mys' extension:
- $pas1 = Input("MySecret EnCrypt","Enter your password for ""<curname>"":");
- $pass = Input('Confirm','Re-type your password:');
- end ("$pas1" != "$pass"), "Password did not match";
- run "<xypath>\Tools\MySecret\MySecret.exe -w -e -p $pass -i ""<curitem>"" -o ""<curitem>.mys""";
- //===============================
- "Decrypt"
- // creates an new, decrypted file and removes the 'mys' extension:
- $pass = Input("MySecret DeCrypt","Enter your password for ""<curname>"":");
- run "<xypath>\Tools\MySecret\MySecret.exe -d -w -p $pass -i ""<curitem>"" -o ""<curpath>\<curbase>""";
- //===============================
- "Readme"
- sub "_readme";
- //===============================
- -
- "Edit this &script : edit"
- self $ScriptFile, file;
- OpenWith "<xypath>\Tools\NotePad2\Notepad2.exe", ,$ScriptFile;
- //===============================
- "_readme"
- text <<<TEXT
- MySecret Blowfish Encryption Utility
- Version 3.1.1 Released 9 June 2007.
- Works fine for file size till ~5MB.
- Decodeing an file with e.g. 25MB takes a few minutes.
- TO INSTALL
- 1. Copy the file MYSECRET.EXE into a directory on your PC's path,
- e.g. C:\Windows or C:\WINNT
- 2. That's it!
- SYNTAX
- Usage: MySecret [OPTIONS] [-p password] [[-i] infile [[-o] outfile]]
- OPTIONS:
- -?|-h display this Help
- -e|-d force Encrypt/Decrypt
- -n do Not ask to confirm password
- -w Warn before overwriting existing outfile
- -2 use v2.0 algorithm (no compression)
- -@ use stdin/stdout pipes if in/outfile not given
- -L display licence conditions
- EXAMPLES:
- MySecret (=clipboard-mode, prompts for password)
- MySecret -p "my pass phrase"
- MySecret infile outfile (=file-mode)
- MySecret -@ infile (output to stdout)
- MySecret -@ -o outfile (input from stdin)
- MySecret -@ (input from stdin/output to stdout)
- For more information go to <http://www.di-mgt.com.au/mysecret.html>
- TERMS AND CONDITIONS
- MySecret is copyright (C) 2002-7 DI Management Services Pty Ltd, all rights
- reserved. MySecret is freeware. Install and use entirely at your own risk.
- Read more at http://www.di-mgt.com.au/mysecret.html
- TEXT;
- //===============================<EOF>

Recent Posts




)
Online license activation is required with a hardware footprint, and 3 installations per footprint.