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

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.