package
module
Version:
v0.2.4
Opens a new window with list of versions in this module.
Published: Mar 13, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
passgen
Simple password (or string generator) library for golang
Disclaimer
This project is inspired by cmiceli's password-generator-go
Benchmark
This benchmark generates string with 32 characters long.
BenchmarkNewPasswordAllChars-4 2000000 749 ns/op 32 B/op 1 allocs/op
BenchmarkNewPasswordCapsChars-4 2000000 731 ns/op 32 B/op 1 allocs/op
BenchmarkNewPasswordLowerChars-4 2000000 741 ns/op 32 B/op 1 allocs/op
BenchmarkNewPasswordNumberChars-4 2000000 737 ns/op 32 B/op 1 allocs/op
BenchmarkNewPasswordSymbolChars-4 2000000 739 ns/op 32 B/op 1 allocs/op
BenchmarkNewPasswordMixedChars-4 2000000 760 ns/op 32 B/op 1 allocs/op
LICENSE
Please see LICENSE
Documentation
¶
NewPassword will generate random string equal to length and options provided
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.