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

Transcrypt

Encode and decode text in Sublime Text 3

Labels encryption

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

Transcrypt Sublime Text 3 Package

Encrypt and decrypt a document or selection(s) using PyCrypto using AES.

Install

Package Control

  • See here for instructions on installation of Package Control
  • In Sublime Text, search for package 'Transcrypt'

Manual

Clone this repository into Sublime Text 3/Packages using OS-appropriate location:

OSX:

git clone git://github.com/eddiejessup/Transcrypt.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Transcrypt

Windows:

git clone git://github.com/eddiejessup/Transcrypt.git "%APPDATA%\Sublime Text 3\Packages\Transcrypt"

Linux:

git clone git://github.com/eddiejessup/Transcrypt.git ~/.config/sublime-text-3/Packages/Transcrypt

Usage

Access commands via:

  • Right-click menu item Transcrypt
  • Menu item Tools -> Transcrypt
  • Default keyboard shortcuts:
    • Encrypt: ⌘+k, e (OSX) or ctrl+k, e (Linux and Windows)
    • Decrypt: ⌘+k, d (OSX) or ctrl+k, d (Linux and Windows)
    • Toggle 'encrypt on save' mode: ⌘+k, ⌘+e (OSX) or ctrl+k, ctrl+e (Linux and Windows)

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.

'Encrypt on save'

If this mode is enabled, the default save shortcut (⌘+s in OSX or ctrl+s in Linux and Windows) instead opens a password encryption prompt, and only if a password is entered is the document encrypted and saved. If the encryption is cancelled, the file is not saved. This should help to prevent accidentally saving your private file in plaintext.

The mode is toggled on a per-file basis, and should persist as long as the file is open.

When the mode is enabled for a file, 'Encrypt on save' will appear in the status bar (lower left) when viewing that file.

Notes:

  • The menu entry for save is not changed, so normal saving can still be done if required (or you can simply disable the mode).
  • If you've changed the default key binding for save to something else, this won't be remapped automatically (though it can of course be changed manually)
  • This feature is experimental, use at your own risk!

Requirements

Due to containing C extension modules pre-compiled for Python 3.3, only Sublime Text 3 is supported.

Conflicts

Because this is essentially a fork of Crypto, it uses the same default key bindings. They should otherwise happily coexist, so if you want to use both for some reason, change the key bindings of one.

About

Based on Crypto by Derek Anderson and Richard Mitchell's fork of PyCrypto.

Identical interface to Crypto, but supporting much larger text selections by avoiding the subprocess interface.

Author & Contributors

License

MIT License