Nanoid - Perl implementation of Nano ID
use Nanoid;
my $default = Nanoid::generate(); # length 21 / use URL-friendly characters
my $custom1 = Nanoid::generate(size => 10); # length 10 / use URL-friendly characters
my $custom2 = Nanoid::generate(size => 10, alphabet => 'abcdef012345'); # length 10 / use 'abcdef012345' characters
Nanoid is a tiny, secure, URL-friendly, unique string ID generator.
Copyright (C) Hatena Co., Ltd..
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
tkzwtks [email protected]