Closed codewinch closed 2 years ago
actually secret size depends on a parameter length
in util.RandomSecret
.
Currently secret size (in bytes) is provided by length parameter in util.RandomSecret()
.
If user needs 32 bytes, then he can set length to 32. The 32 byte secret will be generated and base32 encoded.
@codewinch, can you please comment? I hope I could explain.
Closing this issue
The example secret size should be doubled from 16 to 32 bytes. See #3 and PR12 for additional color.