Versions in this module Expand all Collapse all v0 v0.9.0 Dec 15, 2015 Changes in this version + func GenRandomPassword() (string, error) + func GenRandomToken() ([]byte, error) + type KeyGenerator struct + AESKey string + func NewKeyGenerator(key string) (*KeyGenerator, error) + func (g *KeyGenerator) DecodeIdFromRandomKey(encrypted string) (int64, error) + func (g *KeyGenerator) GenRandomKey(id int64) (string, error)