This Package depends on openssl
Recommended: Installation via the Package Control (Search for Crypto
)
To install manually clone this project into your Sublime Text 2|3\Packages
folder:
SublimeText 2:
git clone git://github.com/mediaupstream/SublimeText-Crypto.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Crypto
SublimeText 3:
git clone git://github.com/mediaupstream/SublimeText-Crypto.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Crypto
SublimeText 2:
git clone git://github.com/mediaupstream/SublimeText-Crypto.git "%APPDATA%\Sublime Text 2\Packages\Crypto"
SublimeText 3:
git clone git://github.com/mediaupstream/SublimeText-Crypto.git "%APPDATA%\Sublime Text 3\Packages\Crypto"
After installation you will have:
- Right-click menu item
Crypto
andTools > Crypto
with two options:Encrypt
Decrypt
- Default keyboard shortcuts:
⌘+K,e
on OSX orctrl+K,e
on Linux/Windows (Encrypt)⌘+K,d
on OSX orctrl+K,d
on Linux/Windows (Decrypt)
- Package Settings:
Preferences > Package Settings > Crypto
- Set the path to your
openssl
executable - default:openssl
- Set the Encryption Cipher - default:
-aes128
- Obfuscate the password input - default 'false'
- Use PBKDF2 key derivation - default 'false'
- Set the path to your
Note:
By default password input will not be obfuscated. If you want your password input to be obfuscated you can change the setting obfuscate_password
to true
in your Preferences > Package Settings > Crypto > Settings - User
.
If you choose to enable obfuscate_password
please be aware that there is a bug with the implementation that doesn't allow you to copy/paste your password.
The commands work on a selection, multiple selections or if nothing is selected the whole document. Once you trigger the command you will be prompted to enter a password.
Earlier versions of the Crypto package used MD5 key derivation, the historical default for openssl, which is now considered broken and deprecated. To enable decryption of files that were encrypted using the old MD5 key derivation method, set the use_pbkdf2
option to false
.
Derek Anderson Isaac Muse Elliot Marsden @circulosmeos
MIT License