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

Hashids

by zergin ST3

SublimeText 3 plugin for encoding and decoding hashids (hashids.org).

Labels hashid, hashids, ids, unique

Details

Installs

  • Total 214
  • Win 91
  • Mac 76
  • Linux 47
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 0 0 0 0 0 0 0 0 0 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 0 0 0 0
Mac 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 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 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Hashids

Encode and decode hashids (hashids.org).

Description

This plugin allows encoding and decoding ids using hashids.org implementation.

Instalation

Usage

  • initialize configuration (set salt) Project -> Hashids -> Add project settings
  • encode/decode ids
  • profit!

Initialize configuration

{
    "settings":
    {
        "hashids":
        {
            "salt": "your-salt-here"
        }
    }
}

Using without project configuration

Plugin supports providing inline salt through key-value pairs in de/encoded strings. Examples:

salt=abc;ids=1,2,3 => G7CYSG
salt=abc;1,2,3 => G7CYSG
salt=abc;hash=G7CYSG => 1,2,3
salt=abc;G7CYSG => 1,2,3

License

© 2015 Marcin Kurzyna <m.kurzyna@gmail.com>. MIT license, see the LICENSE file.