Discover Packages
github.com/RealFax/FFAX
src
crypto
rand_
package
Version:
v0.5.5-beta1
Opens a new window with list of versions in this module.
Published: Nov 2, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Int
生成一个int64类型的区间随机数
generate an interval random number of type int64
example: Int(32) return [0~31]
RandUp
生成一个指定长度的字符串,返回类型[]byte(减少使用时的转换)
generate a string of specified length
return type []byte (reduce conversion during use)
example: string(RandUp(1)) A
Source Files
¶
Click to show internal directories.
Click to hide internal directories.