package
Version:
v0.0.0-...-1ad4281
Opens a new window with list of versions in this module.
Published: Nov 11, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Bytes returns a secure random byte array
FastBytes returns a fast pseudorandom byte array
FastInt returns a fast pseudorandom int between 0 and max
if max <= 0 them max is 64
FastString returns a fast pseudorandom string
Int returns a secure random int between 0 and max
if max <= 0 them max is 64
String returns a secure random string
StringBase58 returns a secure random base58 string
up to 2.5x faster than String(n) with only 3 allocations
StringBase64 returns a secure random Url Safe string of n*4/3 min length
up to 4x faster than String(n) with only 3 allocations
Source Files
¶
Click to show internal directories.
Click to hide internal directories.