github.com/zackkitzmiller/tiny-go


Install
go get github.com/zackkitzmiller/tiny-go

Documentation

Build Status

Tiny

A reversible base62 ID obfuscater

Authors

Originally by Jacob DeHart, with Ruby and Python ports by Kyle Bragger

Go port by Zack Kitzmiller.

PHP port currently maintained by Zack Kitzmiller.

Installation

Install via go get

Usage

completelyRandomSeed := "5SX0TEjkR1mLOw8Gvq2VyJxIFhgCAYidrclDWaM3so9bfzZpuUenKtP74QNH6B"
tiny := NewTiny(completelyRandomSeed)

fmt.Println(tiny.To(5))
// E

fmt.Println(tiny.From("E"))
// 5

More information and background can be found here.