Encrypt and Decrypt a document or selection using OpenSSL in Sublime Text 2 & 3
Latest commit a3203b1 Feb 15, 2017 @mediaupstream Update readme with new contributor and remove things from the todo li…
…st that I will probably never do


Crypto Sublime Text 2 and 3 Package

Encrypt/ Decrypt a document or selection(s) using OpenSSL

This Package depends on openssl



Installation via the Package Control (Search for Crypto)

To install manually clone this project into your Sublime Text 2\Packages folder:


git clone git://github.com/mediaupstream/SublimeText-Crypto.git ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Crypto


git clone git://github.com/mediaupstream/SublimeText-Crypto.git "%APPDATA%\Sublime Text 2\Packages\Crypto"


After installation you will have:

  • Right-click menu item Crypto and Tools > Crypto with two options:
    • Encrypt
    • Decrypt
  • Default keyboard shortcuts:
    • ⌘+K,e on OSX or ctrl+K,e on Linux/Windows (Encrypt)
    • ⌘+K,d on OSX or ctrl+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

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.


  • Test on Linux and Windows
  • Obscure Password with Asterisks

Author & Contributors

Derek Anderson
Isaac Muse
Elliot Marsden


MIT License