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 738
  • Linux 595
Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18
Windows 0 0 2 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 2 2 1 1 0 0 0 0 0 3 0 1 0 1
Mac 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
01234Jun 1May 29May 26May 23May 20May 17May 14May 11May 8May 5May 2Apr 29Apr 26Apr 23Apr 20Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 0 Mac: 0 Windows: 2May 29 Linux: 0 Mac: 0 Windows: 0May 28 Linux: 0 Mac: 0 Windows: 0May 27 Linux: 0 Mac: 0 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 0May 24 Linux: 0 Mac: 0 Windows: 1May 23 Linux: 0 Mac: 0 Windows: 1May 22 Linux: 0 Mac: 0 Windows: 0May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 0 Mac: 1 Windows: 1May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 0 Mac: 0 Windows: 0May 17 Linux: 0 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 0May 15 Linux: 0 Mac: 0 Windows: 0May 14 Linux: 0 Mac: 0 Windows: 0May 13 Linux: 0 Mac: 0 Windows: 0May 12 Linux: 0 Mac: 1 Windows: 0May 11 Linux: 0 Mac: 0 Windows: 1May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 1 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 0May 7 Linux: 0 Mac: 0 Windows: 0May 6 Linux: 0 Mac: 0 Windows: 1May 5 Linux: 0 Mac: 0 Windows: 0May 4 Linux: 0 Mac: 0 Windows: 0May 3 Linux: 0 Mac: 0 Windows: 1May 2 Linux: 0 Mac: 0 Windows: 0May 1 Linux: 0 Mac: 0 Windows: 2Apr 30 Linux: 0 Mac: 0 Windows: 2Apr 29 Linux: 0 Mac: 0 Windows: 1Apr 28 Linux: 0 Mac: 0 Windows: 1Apr 27 Linux: 0 Mac: 0 Windows: 0Apr 26 Linux: 0 Mac: 0 Windows: 0Apr 25 Linux: 0 Mac: 0 Windows: 0Apr 24 Linux: 0 Mac: 0 Windows: 0Apr 23 Linux: 0 Mac: 0 Windows: 0Apr 22 Linux: 0 Mac: 0 Windows: 3Apr 21 Linux: 0 Mac: 0 Windows: 0Apr 20 Linux: 0 Mac: 0 Windows: 1Apr 19 Linux: 0 Mac: 0 Windows: 0Apr 18 Linux: 0 Mac: 0 Windows: 1Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 0 Mac: 0 Windows: 2May 29 Linux: 0 Mac: 0 Windows: 0May 28 Linux: 0 Mac: 0 Windows: 0May 27 Linux: 0 Mac: 0 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 0May 24 Linux: 0 Mac: 0 Windows: 1May 23 Linux: 0 Mac: 0 Windows: 1May 22 Linux: 0 Mac: 0 Windows: 0May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 0 Mac: 1 Windows: 1May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 0 Mac: 0 Windows: 0May 17 Linux: 0 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 0May 15 Linux: 0 Mac: 0 Windows: 0May 14 Linux: 0 Mac: 0 Windows: 0May 13 Linux: 0 Mac: 0 Windows: 0May 12 Linux: 0 Mac: 1 Windows: 0May 11 Linux: 0 Mac: 0 Windows: 1May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 1 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 0May 7 Linux: 0 Mac: 0 Windows: 0May 6 Linux: 0 Mac: 0 Windows: 1May 5 Linux: 0 Mac: 0 Windows: 0May 4 Linux: 0 Mac: 0 Windows: 0May 3 Linux: 0 Mac: 0 Windows: 1May 2 Linux: 0 Mac: 0 Windows: 0May 1 Linux: 0 Mac: 0 Windows: 2Apr 30 Linux: 0 Mac: 0 Windows: 2Apr 29 Linux: 0 Mac: 0 Windows: 1Apr 28 Linux: 0 Mac: 0 Windows: 1Apr 27 Linux: 0 Mac: 0 Windows: 0Apr 26 Linux: 0 Mac: 0 Windows: 0Apr 25 Linux: 0 Mac: 0 Windows: 0Apr 24 Linux: 0 Mac: 0 Windows: 0Apr 23 Linux: 0 Mac: 0 Windows: 0Apr 22 Linux: 0 Mac: 0 Windows: 3Apr 21 Linux: 0 Mac: 0 Windows: 0Apr 20 Linux: 0 Mac: 0 Windows: 1Apr 19 Linux: 0 Mac: 0 Windows: 0Apr 18 Linux: 0 Mac: 0 Windows: 1Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 0 Mac: 0 Windows: 2May 29 Linux: 0 Mac: 0 Windows: 0May 28 Linux: 0 Mac: 0 Windows: 0May 27 Linux: 0 Mac: 0 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 0May 24 Linux: 0 Mac: 0 Windows: 1May 23 Linux: 0 Mac: 0 Windows: 1May 22 Linux: 0 Mac: 0 Windows: 0May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 0 Mac: 1 Windows: 1May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 0 Mac: 0 Windows: 0May 17 Linux: 0 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 0May 15 Linux: 0 Mac: 0 Windows: 0May 14 Linux: 0 Mac: 0 Windows: 0May 13 Linux: 0 Mac: 0 Windows: 0May 12 Linux: 0 Mac: 1 Windows: 0May 11 Linux: 0 Mac: 0 Windows: 1May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 1 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 0May 7 Linux: 0 Mac: 0 Windows: 0May 6 Linux: 0 Mac: 0 Windows: 1May 5 Linux: 0 Mac: 0 Windows: 0May 4 Linux: 0 Mac: 0 Windows: 0May 3 Linux: 0 Mac: 0 Windows: 1May 2 Linux: 0 Mac: 0 Windows: 0May 1 Linux: 0 Mac: 0 Windows: 2Apr 30 Linux: 0 Mac: 0 Windows: 2Apr 29 Linux: 0 Mac: 0 Windows: 1Apr 28 Linux: 0 Mac: 0 Windows: 1Apr 27 Linux: 0 Mac: 0 Windows: 0Apr 26 Linux: 0 Mac: 0 Windows: 0Apr 25 Linux: 0 Mac: 0 Windows: 0Apr 24 Linux: 0 Mac: 0 Windows: 0Apr 23 Linux: 0 Mac: 0 Windows: 0Apr 22 Linux: 0 Mac: 0 Windows: 3Apr 21 Linux: 0 Mac: 0 Windows: 0Apr 20 Linux: 0 Mac: 0 Windows: 1Apr 19 Linux: 0 Mac: 0 Windows: 0Apr 18 Linux: 0 Mac: 0 Windows: 1

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