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
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 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 3 | 1 | 1 | 6 | 2 | 0 | 0 | 1 | 2 | 0 | 1 | 1 | 0 | 0 | 0 | 3 | 1 | 2 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 2 | 3 | 1 | 0 | 4 | 0 | 0 | 7 | 1 | 0 | 0 | 0 | 0 | 0 |
Mac | 1 | 0 | 2 | 1 | 1 | 2 | 2 | 1 | 1 | 0 | 0 | 4 | 2 | 0 | 0 | 1 | 0 | 2 | 2 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 1 | 1 | 2 | 0 | 5 | 1 | 0 | 0 | 0 | 0 | 2 | 1 | 1 | 1 | 2 | 1 | 2 |
Linux | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 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