frand
A fast userspace CSPRNG (by lukechampine)
portable-snippets
Collection of miscellaneous portable C snippets. (by nemequ)
frand | portable-snippets | |
---|---|---|
3 | 1 | |
83 | 658 | |
- | - | |
1.8 | 0.0 | |
about 3 years ago | 4 months ago | |
Go | C | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
frand
Posts with mentions or reviews of frand.
We have used some of these posts to build our list of alternatives
and similar projects.
- Frand: Fast Userspace Csprng in Go
-
I wrote a quantum random number generator package in Go. I'd love your feedback!
For any RNG, the most fundamental function is Read. You can define all other functions in terms of it. In fact, in my opinion, this package could consist of a single Read function and nothing else. If users want convenient methods like Intn or Perm, they can use your package to seed another RNG, such as frand or math/rand. This will also protect against bugs or surprising behavior in your own code. (I notice, for example, that your Int function only produces values up to 65535...)
- Should Random() Be Banned?
portable-snippets
Posts with mentions or reviews of portable-snippets.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-08.
-
SDL2 common mistakes and how to avoid them
Rolling your own trap signaling is unfortunately painful, since C standard stays away from builtin symbol naming and forces developers to create monstrosities like https://github.com/nemequ/portable-snippets/blob/master/debug-trap/debug-trap.h or to use assemebler in high level code.
What are some alternatives?
When comparing frand and portable-snippets you can also consider the following projects:
cauldron - A collection of single-file C libraries. (generic containers, random number generation, argument parsing and other functionalities)
ChaCha-and-Salsa - A simple, commented and readable python implementation of ChaCha, Salsa, Poly1305, MD2, MD4, MD5, SHA1, SHA2, SHA3, Blake, Blake2, DES, 3DES, and more
isaacCSPRNG - 🔣 ISAAC is a fast, seedable, cryptographically secure pseudo-random number generator (CSPRNG) and synchronous stream cipher.