Codec
Codecs Plugin for Sublime Text. Supports Secure Hash / Message Digest such as MD5, SHA-1, SHA-256, SHA-512, encoding / decoding of Base64, Base62, Base32, Base16, URL encoding, Quoted-Printable, JSON, XML, Punycode, IDNA, CSP, etc
Details
Installs
- Total 19K
- Win 13K
- Mac 5K
- Linux 2K
Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 0 | 3 | 1 | 3 | 1 | 3 | 2 | 1 | 5 | 1 | 0 | 0 | 1 | 2 | 2 | 2 | 1 | 0 | 2 | 3 | 1 | 1 | 0 | 1 | 2 | 3 | 0 | 2 | 1 | 1 | 2 | 0 | 2 | 0 | 3 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 2 | 0 |
Mac | 1 | 1 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 2 | 1 | 1 | 0 | 0 | 2 | 2 | 0 | 1 | 0 | 1 | 1 | 2 | 2 | 0 | 1 | 0 | 0 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 1 | 2 | 0 | 2 | 1 | 1 | 1 | 2 |
Linux | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime Codec for ST2 and ST3
Provides a bunch of useful codecs as a Sublime Text plugin to allow you to work with:
- RFC 4648:
- encode/decode base64 (standard and url safe)
- encode/decode base32
- encode/decode base16 (hex)
- RFC 1321:
- MD5
- FIPS 180-2:
- SHA-1
- SHA-224
- SHA-256
- SHA-384
- SHA-512
- RFC 3986 URL encoding (percent encoding):
- URL encoding (classic)
- URL encoding (new school plus instead of %20
method)
- RFC 1522:
- encode/decode MIME quoted-printable
- Extensible Markup Language (XML) 1.0 (Fifth Edition):
- escape/unescape character decoding
- RFC 4627:
- JSON encoding/decode
- JSON encoding with escaped Unicode
- C-style byte strings
- RFC 3490 / RFC 5891:
- International Domain Names in Applications (IDNA)
- RFC 3492:
- Punycode
- Base62
- CSP Hash Source
Limitations
- Note that this plugin assumes that your file is UTF-8 encoded.
Installation
Package Control
- Install Package Control https://sublime.wbond.net/installation
- Pull up the command palette (
Shift+Super+P
) - Type
Package Control: Install Package
and pressreturn
key - Type
Codec
and pressreturn
key - Enjoy
Manual Install
- Copy a release from https://github.com/furikake/sublime-codec/releases
- Unzip files into
~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Codec
(or equivalent in Linux and Windows)
Usage
- Look in the selection menu
- Look in command palette under
Codec
(Shift+Super+P
to bring up palette) Ctrl+Super+Y
to base64 encodeShift+Super+Y
to base64 decode