getrandom

A small cross-platform library for retrieving random data from (operating) system source (by rust-random)

Getrandom Alternatives

Similar projects and alternatives to getrandom

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better getrandom alternative or higher similarity.

getrandom reviews and mentions

Posts with mentions or reviews of getrandom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-11.
  • We have getrandom at home
    8 projects | /r/rust | 11 Mar 2023
    Completely agreed. This isn't in that context at all, though yes, the joke post title may not make that clear.
    8 projects | /r/rust | 11 Mar 2023
    The crypto source in Go is great, no complaints there. Lints like gosec even recommend using it when generating crypto entropy. Go did a good job here, and I expect Rust will do the same sometime after getrandom reaches 1.0 so the API questions are settled, plus whatever makes sense for the future-proofing the standard library needs.
    8 projects | /r/rust | 11 Mar 2023
    Why can't the standard library do the same thing that getrandom does? I've read a ton of threads about getrandom design choices, but since I wasn't looking for this kind of target, I guess I missed the whole thing.
  • Fellow Rust enthusiasts: What "sucks" about Rust?
    25 projects | /r/rust | 10 Mar 2023
    I would wait for the getrandom crate to reach 1.0, which will answer many of the questions around what an API like this can look like, and then maybe the standard library discussion will be on firmer footing because at least we'll know what API we want to immortalize. Rushing that now just to save people importing a small crate does not seem to be the way to go.
  • Alea: fast and easy random number generation in Rust
    4 projects | /r/rust | 19 Jul 2021
    getrandom
  • Why I rewrote my Rust keyboard firmware in Zig: consistency, mastery, and fun
    3 projects | /r/programming | 7 Mar 2021
    It's a default, but overwritable behavior, see the #[path] attribute. You still have to create N files for each supported platform, but at the top level you will see only one module. On of the crates which uses this approach in practice is getrandom.
  • String, Vec<T>, Box<T>, Rc<T>... could be moved from alloc to core
    2 projects | /r/rust | 11 Feb 2021
    IIUC the main problem which prevents from moving HashMap & co to alloc is lack of API to get system entropy which is required for DOS protection. Ideally we would have a #[global_allocator]-like functionality for retrieving system entropy. Relevant issue: https://github.com/rust-random/getrandom/issues/21
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 28 Mar 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic getrandom repo stats
8
251
6.7
6 days ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com