How to Install and Uninstall golang-github-nebulouslabs-fastrand-dev Package on Ubuntu 21.10 (Impish Indri)
Last updated: November 22,2024
1. Install "golang-github-nebulouslabs-fastrand-dev" package
This is a short guide on how to install golang-github-nebulouslabs-fastrand-dev on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
golang-github-nebulouslabs-fastrand-dev
Copied
2. Uninstall "golang-github-nebulouslabs-fastrand-dev" package
Please follow the instructions below to uninstall golang-github-nebulouslabs-fastrand-dev on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
golang-github-nebulouslabs-fastrand-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the golang-github-nebulouslabs-fastrand-dev package on Ubuntu 21.10 (Impish Indri)
Package: golang-github-nebulouslabs-fastrand-dev
Architecture: all
Version: 0.0~git20170512.60b6156-1
Priority: extra
Section: universe/devel
Source: golang-github-nebulouslabs-fastrand
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 36
Depends: golang-golang-x-crypto-dev, golang-github-dchest-blake2b-dev
Filename: pool/universe/g/golang-github-nebulouslabs-fastrand/golang-github-nebulouslabs-fastrand-dev_0.0~git20170512.60b6156-1_all.deb
Size: 8252
MD5sum: 11eef0a0ef4fa0ef0dbf51c0f0d50516
SHA1: 7fcb1883f6723e0338fa857aba748f66ce94f6eb
SHA256: 8075d2f6f584c3a92525025da6158638f475da56d225204750dc735dbe34ca16
SHA512: 0d6216f5c75440765f8b0a63a466b1d6b1d3c84128976f81398a78af15b599a00ee764289b21187322513b2fcec8edc04f8dd7b67dd6721aca913ac52a542ec8
Homepage: https://github.com/NebulousLabs/fastrand
Description-en: 10x faster than crypto/rand
fastrand GoDoc
(https://godoc.org/github.com/NebulousLabs/fastrand) Go Report Card
(https://goreportcard.com/report/github.com/NebulousLabs/fastrand)
.
go get github.com/NebulousLabs/fastrand
.
fastrand implements a cryptographically secure pseudorandom number
generator. The generator is seeded using the system's default entropy
source, and thereafter produces random values via repeated hashing. As
a result, fastrand can generate randomness much faster than crypto/rand,
and generation cannot fail beyond a potential panic during init().
.
Unlike both crypto/rand and math/rand, fastrand provides significant
speedups when called using parallelism. In fact, fastrand can even
outperform math/rand when using enough threads.
.
Packages uses something similar to the Fortuna algorithm, which is used
in FreeBSD as its /dev/random. The techniques used by fastrand are known
to be secure, however the specific implementation has not been reviewed
extensively. Use with caution.
.
The general strategy is to use crypto/rand at init to get 32 bytes of
strong entropy. From there, the entropy concatenated to a counter and
hashed repeatedly, providing a new 64 bytes of random output each time
the counter is incremented. The counter is 16 bytes, which provides
strong guarantees that a cycle will not be seen throughout the lifetime
of the program.
.
The sync/atomic package is used to ensure that multiple threads calling
fastrand concurrently are always guaranteed to end up with unique
counters, allowing callers to see speedups by calling concurrently,
without compromising security.
Description-md5: af33978335c02118adad511dee041235
Architecture: all
Version: 0.0~git20170512.60b6156-1
Priority: extra
Section: universe/devel
Source: golang-github-nebulouslabs-fastrand
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 36
Depends: golang-golang-x-crypto-dev, golang-github-dchest-blake2b-dev
Filename: pool/universe/g/golang-github-nebulouslabs-fastrand/golang-github-nebulouslabs-fastrand-dev_0.0~git20170512.60b6156-1_all.deb
Size: 8252
MD5sum: 11eef0a0ef4fa0ef0dbf51c0f0d50516
SHA1: 7fcb1883f6723e0338fa857aba748f66ce94f6eb
SHA256: 8075d2f6f584c3a92525025da6158638f475da56d225204750dc735dbe34ca16
SHA512: 0d6216f5c75440765f8b0a63a466b1d6b1d3c84128976f81398a78af15b599a00ee764289b21187322513b2fcec8edc04f8dd7b67dd6721aca913ac52a542ec8
Homepage: https://github.com/NebulousLabs/fastrand
Description-en: 10x faster than crypto/rand
fastrand GoDoc
(https://godoc.org/github.com/NebulousLabs/fastrand) Go Report Card
(https://goreportcard.com/report/github.com/NebulousLabs/fastrand)
.
go get github.com/NebulousLabs/fastrand
.
fastrand implements a cryptographically secure pseudorandom number
generator. The generator is seeded using the system's default entropy
source, and thereafter produces random values via repeated hashing. As
a result, fastrand can generate randomness much faster than crypto/rand,
and generation cannot fail beyond a potential panic during init().
.
Unlike both crypto/rand and math/rand, fastrand provides significant
speedups when called using parallelism. In fact, fastrand can even
outperform math/rand when using enough threads.
.
Packages uses something similar to the Fortuna algorithm, which is used
in FreeBSD as its /dev/random. The techniques used by fastrand are known
to be secure, however the specific implementation has not been reviewed
extensively. Use with caution.
.
The general strategy is to use crypto/rand at init to get 32 bytes of
strong entropy. From there, the entropy concatenated to a counter and
hashed repeatedly, providing a new 64 bytes of random output each time
the counter is incremented. The counter is 16 bytes, which provides
strong guarantees that a cycle will not be seen throughout the lifetime
of the program.
.
The sync/atomic package is used to ensure that multiple threads calling
fastrand concurrently are always guaranteed to end up with unique
counters, allowing callers to see speedups by calling concurrently,
without compromising security.
Description-md5: af33978335c02118adad511dee041235