ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Crypto

by mediaupstream ALL

Encrypt and Decrypt a document or selection using OpenSSL in Sublime Text 2 & 3

Details

  • 2019.11.26.08.03.07
  • github.​com
  • github.​com
  • 3 months ago
  • 2 hours ago
  • 8 years ago

Installs

  • Total 5K
  • Win 3K
  • Mac 2K
  • Linux 1K
Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14
Windows 0 1 0 0 3 2 1 1 3 2 0 0 1 0 2 0 4 1 2 0 0 1 0 0 3 1 2 1 1 0 1 0 0 2 3 2 0 0 0 2 0 0 1 1 0 1
Mac 0 0 0 1 0 0 0 0 1 0 0 0 0 0 2 0 1 1 1 1 0 0 0 0 1 0 0 1 0 0 3 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
Linux 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 0 0 1 1 0 0 3 1 1 0 0 1 1

Readme

Source
raw.​githubusercontent.​com

Crypto Sublime Text 2 and 3 Package

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

This Package depends on openssl

Install

Recommended: Installation via the Package Control (Search for Crypto)

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

OSX

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

Windows

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"

Usage

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
    • Obfuscate the password input - default 'false'

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.

Author & Contributors

Derek Anderson
Isaac Muse
Elliot Marsden
@circulosmeos

License

MIT License