GO-2022-0878 : Use of Cryptographically Weak Pseudo-Random Number Generator in Rclone in github.com/rclone/rclone
Discover Packages
github.com/rclone/rclone
lib
random
package
Version:
v1.52.1
Opens a new window with list of versions in this module.
Published: Jun 10, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 51
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package random holds a few functions for working with random numbers
Password creates a crypto strong password which is just about
memorable. The password is composed of printable ASCII characters
from the base64 alphabet.
Requres password strength in bits.
64 is just about memorable
128 is secure
String create a random string for test purposes.
Do not use these for passwords.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.