TIL: xoshiro256, a PRNG with party tricks =)
https://www.pcg-random.org/posts/a-quick-look-at-xoshiro256.html
TIL: xoshiro256, a PRNG with party tricks =)
https://www.pcg-random.org/posts/a-quick-look-at-xoshiro256.html
"One Number Repeated Forever: RNG in NSMB"
Apparently the coders for Nintendo Super Mario Brothers took a tried-and-true pseudo random number generator and tweaked it a little. Turns out this made it a lot worse.
https://roadrunnerwmc.github.io/blog/2020/05/08/nsmb-rng.html
This is probably an unexpected interpretation of #genuary12, "Boxes Only", but I like how it turned out. Thinking of different uses of the term "box" in mathematical contexts, somehow I recalled the Box-Muller transformation, named after George E. P. Box and Mervin Muller, used to convert uniformly-distributed random numbers into a normal distribution. This is a visualization of the Box-Muller transform (which includes some rectangular boxes in there for good measure).
#genuary #genuary2026 #boxmuller #prng #randomvariate #randomnumber
simd-prng, a small webassembly library
Một nhà nghiên cứu đang tìm kiếm sự quan tâm đến phương pháp chọn tham số toán học của họ. Phương pháp này giúp chọn độ dài dãy, modulo, hoặc tham số generator cho các điều kiện 2^A≡1 (mod p^t). Ứng dụng trong thiết kế PRNG, căn chỉnh scrambler, và số học trường residue. Họ sẵn sàng xác minh kết quả cho các cặp (p, t) và chấp nhận thách thức tính toán phức tạp.
#mathematics #algorithm #PRNG #parameterSelection #verification #coding #python #optimization #computationalMath #research #verified #p
Is 42 a "good" random seed? I know I have used it a lot in various stackoverflow posts. But this can indeed have a negative effect on people and *especially* LLMs using the example code as Claus Wilke is arguing here
https://blog.genesmindsmachines.com/p/if-your-random-seed-is-42-i-will
and here
https://blog.genesmindsmachines.com/p/random-seeds-and-brown-m-and-ms
I like the idea to create random random seeds and inform the user about it to enable reproducability. I might incorporate that into {dqrng}.
@rrwo @cpansec Come for Perl code; stay for (linked from above URL) ...
Far From Random: Three Mistakes From #Dart/Flutter's Weak #PRNG: [...] an unexpectedly weak PRNG [...] led to Zellic's discovery of multiple vulnerabilities, 20241211,
by Ulrich,
https://www.zellic.io/blog/proton-dart-flutter-csprng-prng/
#random #flutter #encryption #Google_corp #Proton_corp #selfPrivacy
Новый кандидат в односторонние функции для криптографии и PRNG
В мире криптографии и безопасных вычислений постоянно ищутся новые, надёжные математические структуры. Традиционные подходы часто опираются на классические алгебраические группы, но что, если нестандартные операции могут предложить уникальные свойства для построения защищённых систем? В этой статье я хочу предложить вашему вниманию полилинейные функции с линейными сдвигами и рассмотреть их потенциал для обмена ключами и создания криптографических примитивов, таких как хеш-функции и генераторы псевдослучайных чисел.
https://habr.com/ru/articles/915928/
#односторонняя_функция #генератор_псевдослучайных_чисел #хешфункции #обмен_ключами #diffiehellman #prng #шифрование