Skip to content

bddjr/cryptorandstr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypto random string

Quickly generate secure random string.

Get

go get github.com/bddjr/cryptorandstr

Test

MustRand10 6
  227679
  901676
  193607
  026687
  243505

MustRand16 27
  017ced60ee75751a027605270fe
  2d89aa349e78988585524c5d074
  d155483394a0c8f75becd533faf
  7714135085cb7967f6ee645edb5
  0d0e22c51fe5cad882d6a0867d7

MustRand32 27
  5e9hoqmhspbsnng2ct2hgosko4e
  e9f5e7i5i24d9tlf1tef8fgcsba
  0dhkjpef6nqj1bnm81rhnjgjqjj
  kj968dr8sc9srpk9roj3go45k8r
  tvkb7pl542c3v5e3opqg5jcejhm

MustRand64 27
  xA-ZoFjHgQ927Jxnhly7WWRMvjw
  NIBvnag5JrYhvHZ-NaKEZkmBgco
  YD3qxeMe7AGlXllP0M07GkTXnMA
  fC7_-XWOEf-BPv-U5_bRXrkEDqi
  b1t6xZLgmW2v9KdxGEKqVIp-WAH

PASS
ok      github.com/bddjr/cryptorandstr  0.034s

License

MIT