module Nanoid

Defined in:

nanoid.cr
nanoid/version.cr

Constant Summary

SAFE_ALPHABET = "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
VERSION = {{ (`shards version /srv/crystaldoc.info/github-mamantoha-nanoid.cr-v0.4.0/src/nanoid`).chomp.stringify }}

Class Method Summary

Class Method Detail

def self.generate(size = 21, alphabet = SAFE_ALPHABET, secure = true) : String #

[View source]