kanzenminarai / rcg

Random Character Generator
BSD Zero Clause License
13 stars 6 forks source link

Remove traits from source of randomness #7

Closed Seven0492 closed 1 year ago

Seven0492 commented 1 year ago

So, as Low Level Learning explained in his video, adding information to the nanosecond time adds predictability in the final number, which can, or might be used to reverse 'engineer' the original number.

Better off just using it fresh off the oven, it's good enough as it is.

Edit: to clarify, this is not a work-and-ready kind off proposal, in the sense that it'd be better to implement what Low Level Learning suggested in his code review, this is just an initial step, and I'm not familiar enough with C lingo and libraries to implement it myself.

I'm more of a Rust guy, like I've been coding in it for a year now so I'm pretty familiar in it, with the downside that I'm not really familiar with C, make no mistake, I can read it, I can cobble things together in it, but I don't have the muscle memory.

kanzenminarai commented 1 year ago

Done here man, thank you for the help

kanzenminarai commented 1 year ago

Ops, now it's done!