# Randomizer

A randomizer is a process that produces an individual random value or a random sequence, typically bits.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Zirah: A Post-Quantum True Random Number Generator Hardware Signer With an Avalanche Noise

DevFeed: [Zirah: A Post-Quantum True Random Number Generator Hardware Signer With an Avalanche Noise](<https://devfeed.tech/articles/zirah-a-post-quantum-true-random-number-generator-hardware-signer-with-an-avalanche-noise-119927.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.08200>)

Author: Muhammad Shaheer Bin Junaid

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Post-quantum cryptography](<https://devfeed.tech/topics/post-quantum-cryptography.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [application](<https://devfeed.tech/tags/application.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [avalanche](<https://devfeed.tech/tags/avalanche.md>), [avalanche-breakdown](<https://devfeed.tech/tags/avalanche-breakdown.md>), [bits](<https://devfeed.tech/tags/bits.md>), [board](<https://devfeed.tech/tags/board.md>), [button](<https://devfeed.tech/tags/button.md>), [can](<https://devfeed.tech/tags/can.md>), [command](<https://devfeed.tech/tags/command.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [cs-ar](<https://devfeed.tech/tags/cs-ar.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [generator](<https://devfeed.tech/tags/generator.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [noise](<https://devfeed.tech/tags/noise.md>), [number](<https://devfeed.tech/tags/number.md>), [post-quantum](<https://devfeed.tech/tags/post-quantum.md>), [random](<https://devfeed.tech/tags/random.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

Zirah demonstrates ML-DSA-65 signing on an STM32F407 using avalanche-junction noise for randomness, SP 800-90B health tests, and two-share arithmetic masking. An ATECC608 separately adds ECDSA P-256 over the same digest, but cannot hold or compute with the 4,032-byte ML-DSA key; that key remains in ordinary flash behind readout protection. On an earlier board without that protection, a debugger extracted the key and used it to sign independently. The entropy tool rejected the IID assumption and estimated 6.898 bits of min-entropy per byte, while firmware credits only 1 bit; unexplained spectral lines near 116 Hz account for about 5% of variance. The masked signature took a median 157 ms, and full signing took under 0.8 seconds. Leakage findings were from an instruction-level emulator, and the device is not certified.

### Source excerpt

arXiv:2611.08200v1 Announce Type: new Abstract: Zirah is a hardware signer built around an STM32F407 microcontroller, and its purpose is to find out, on inexpensive hardware, where a post-quantum signing key is exposed and what actually protects it. The device draws every random bit from a reverse-biased 2N3904 junction in avalanche breakdown, amplified by an LM358 and screened by SP 800-90B health tests, computes ML-DSA-65 (FIPS 204, hedged) on the STM32 with two-share arithmetic masking of the secret-key multiplications, and adds ECDSA P-256 from an ATECC608 secure element over the same digest, once a person has matched an eight-digit digest prefix on its OLED with the PC and pressed a button. A desktop application and a command-line tool drive the board and verify its output, and because only a 32-byte manifest digest reaches the device, it signs files of any type and size, returning signed copies for PDF, Office Open XML, ZIP, PNG and JPEG files and detached records for every other format. NIST's SP 800-90B tool rejected the IID assumption for 1,000,000 raw samples and assessed 6.898 bits of min-entropy per byte on the non-IID track, against the 1 bit the firmware credits, while spectral lines near 116 Hz that hold about 5 % of the variance remain unexplained. At 168 MHz the masked signature took a median of 157 ms over 20 runs and a complete signing operation under 0.8 s, and the signer matched the pq-crystals reference in 1,976 checks natively and on an emulated Cortex-M4. The ATECC608 can neither store the 4,032-byte ML-DSA-65 key nor compute with it, so that key sits in ordinary flash behind readout protection, and on an earlier board, before that protection was enabled, a debugger copied it out and the copy produced a valid ML-DSA-65 signature without the device, although the leakage results come from an instruction-level emulator and nothing here is certified.

## How Chainguard Built Kernel-Independent FIPS Containers with Faster Security Updates

DevFeed: [How Chainguard Built Kernel-Independent FIPS Containers with Faster Security Updates](<https://devfeed.tech/articles/this-shit-is-hard-making-fips-boring-fast-and-post-quantum-59448.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/this-shit-is-hard-making-fips-boring-fast-and-post-quantum>)

Published: 2026-09-24T00:00:00Z

Content type: article

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [fips 140-3](<https://devfeed.tech/topics/fips-140-3.md>), [Security, Privacy and Abuse Prevention](<https://devfeed.tech/topics/security-privacy-and-abuse-prevention.md>), [openssl](<https://devfeed.tech/topics/openssl.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [vendor lock-in](<https://devfeed.tech/topics/vendor-lock-in.md>), [Operating system](<https://devfeed.tech/topics/operating-system.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>)

Tags: [cloud](<https://devfeed.tech/tags/cloud.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [cryptographic-agility](<https://devfeed.tech/tags/cryptographic-agility.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [cve](<https://devfeed.tech/tags/cve.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [fips](<https://devfeed.tech/tags/fips.md>), [fips-compliance](<https://devfeed.tech/tags/fips-compliance.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [legacy](<https://devfeed.tech/tags/legacy.md>), [openssl](<https://devfeed.tech/tags/openssl.md>), [portable](<https://devfeed.tech/tags/portable.md>), [vendor-lock-in](<https://devfeed.tech/tags/vendor-lock-in.md>)

### AI overview

Chainguard describes its effort to make FIPS compliance more portable and maintainable. The article covers moving validated entropy into container userspace, extending kernel-independent FIPS to Java images, removing legacy algorithms, and addressing vulnerabilities within the validated boundary.

### Source excerpt

FIPS compliance used to mean outdated cryptography and vendor lock-in. See how Chainguard built a secure, portable, post-quantum alternative.

## How AI Is Reshaping Crypto Security, with Michael Coates

DevFeed: [How AI Is Reshaping Crypto Security, with Michael Coates](<https://devfeed.tech/articles/how-ai-is-reshaping-crypto-security-with-michael-coates-55391.md>)

Original publisher: [Read original article](<https://solana.com/news/bits-to-bricks-crypto-security-michael-coates>)

Author: Solana Foundation

Published: 2026-09-19T10:00:00Z

Content type: article

Language: en

Sources: [Solana News Feed](<https://devfeed.tech/sources/solana-news-feed.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>), [Bitcoin](<https://devfeed.tech/topics/bitcoin.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [private key](<https://devfeed.tech/topics/private-key.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [bug](<https://devfeed.tech/topics/bug.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [bitcoin](<https://devfeed.tech/tags/bitcoin.md>), [blockchain](<https://devfeed.tech/tags/blockchain.md>), [blockchain-technology](<https://devfeed.tech/tags/blockchain-technology.md>), [bug](<https://devfeed.tech/tags/bug.md>), [code](<https://devfeed.tech/tags/code.md>), [crypto-news](<https://devfeed.tech/tags/crypto-news.md>), [cryptocurrency](<https://devfeed.tech/tags/cryptocurrency.md>), [cyber-security](<https://devfeed.tech/tags/cyber-security.md>), [defi](<https://devfeed.tech/tags/defi.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [nfts](<https://devfeed.tech/tags/nfts.md>), [podcasts](<https://devfeed.tech/tags/podcasts.md>), [private-key](<https://devfeed.tech/tags/private-key.md>), [security](<https://devfeed.tech/tags/security.md>), [solana](<https://devfeed.tech/tags/solana.md>), [solana-ecosystem](<https://devfeed.tech/tags/solana-ecosystem.md>), [technology](<https://devfeed.tech/tags/technology.md>), [testing](<https://devfeed.tech/tags/testing.md>), [web3](<https://devfeed.tech/tags/web3.md>)

### AI overview

A Coldcard hardware-wallet exploit exposed a weakness in seed-phrase generation after a code change replaced a hardware random-number generator with an insecure software pseudo-random source. Michael Coates discusses audit limitations, layered testing, self-custody risks, and how AI may accelerate both security auditing and attacks.

### Source excerpt

A ~$116 million Coldcard exploit shows why crypto security must eliminate single points of failure and automate defenses for AI-speed threats.

## Yet Another Random Story: VBScript's Randomize Internals

DevFeed: [Yet Another Random Story: VBScript's Randomize Internals](<https://devfeed.tech/articles/yet-another-random-story-vbscript-s-randomize-internals-92066.md>)

Original publisher: [Read original article](<https://blog.doyensec.com/2025/09/25/yet-another-random-story.html>)

Published: 2025-09-24T22:00:00Z

Content type: article

Language: en

Sources: [Doyensec](<https://devfeed.tech/sources/doyensec.md>)

Topics: [Randomizer](<https://devfeed.tech/topics/randomizer.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [attack](<https://devfeed.tech/tags/attack.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [automation](<https://devfeed.tech/tags/automation.md>), [code](<https://devfeed.tech/tags/code.md>), [doyensec](<https://devfeed.tech/tags/doyensec.md>), [doyensecurity](<https://devfeed.tech/tags/doyensecurity.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [hacking](<https://devfeed.tech/tags/hacking.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [internals](<https://devfeed.tech/tags/internals.md>), [iteration](<https://devfeed.tech/tags/iteration.md>), [languages](<https://devfeed.tech/tags/languages.md>), [offensive](<https://devfeed.tech/tags/offensive.md>), [pentest](<https://devfeed.tech/tags/pentest.md>), [pentester](<https://devfeed.tech/tags/pentester.md>), [random](<https://devfeed.tech/tags/random.md>), [reseed](<https://devfeed.tech/tags/reseed.md>), [reverse-engineering](<https://devfeed.tech/tags/reverse-engineering.md>), [rnd](<https://devfeed.tech/tags/rnd.md>), [secret](<https://devfeed.tech/tags/secret.md>), [security](<https://devfeed.tech/tags/security.md>), [test](<https://devfeed.tech/tags/test.md>), [timer](<https://devfeed.tech/tags/timer.md>), [token](<https://devfeed.tech/tags/token.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

The excerpt shows that VBScript's `Randomize` and `Rnd` make predictable secret tokens: implicit seeding uses local time down to milliseconds, then narrows the value to `Single`; the clock's roughly 15.625 ms ticks and float precision leave at most 65,536 effective seedings, recurring daily. Although calling `Randomize` inside the token loop does not by itself repeat the state when the same seed is reused, the sequence remains deterministic. The author distinguishes bare `Randomize` from `Randomize Timer()`: the former derives a seed from `GetLocalTime` and converts it differently from an explicitly supplied seed, so passing a captured `Timer()` value directly does not reproduce the state. A Python script models the required seed conversion and tries candidate times in 1/64-second steps, filtering duplicate tokens. With a suspected one-second window based on file creation time, the example recovered the token on its fourth candidate. The excerpt's PoC assumes the same seed across loop iterations and notes that variation could be handled with additional work.

### Source excerpt

In one of our recent posts, Dennis shared an interesting case study of C# exploitation that rode on Random-based password-reset tokens. He demonstrated how to use the single-packet attack, or a bit of old-school math, to beat the game. Recently, I performed a security test on a target which had a dependency written in VBScript. This blog post focuses on VBS's Rnd and shows that the situation there is even worse. Target Application The application was responsible for generating a secret token. The token was supposed to be unpredictable and expected to remain secret. Here's a rough copy of the token generation code: Dim chars, n chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789()*&^%$#@!" n = 32 function GenerateToken(chars, n) Dim result, pos, i, charsLength charsLength = Int(Len(chars)) For i = 1 To n Randomize pos = Int((Rnd * charsLength) + 1) result = result & Mid(chars, pos, 1) Next GenerateToken = result end function The first thing I noticed was that the Randomize function was called inside a loop. That should reseed the PRNG on every single iteration, right? That could result in repeated values. Well, contrary to many other programming languages, in VBScript, the Randomize usage within a loop is not a problem per se. The function will not reset the initial state if the same seed is passed again (even if implicitly). This prevents generating identical sequences of characters within a single GenerateToken call. If you actually want that behavior, call Rnd with a negative argument immediately before calling Randomize with a numeric argument. But if that isn't an issue, then what is? How VBS's Randomize Works in Practice Here's a short API breakdown: Randomize ' seed the global PRNG using the system clock Randomize s ' seed the global PRNG using a specified seed value r = Rnd() ' next float in [0,1) If no seed is explicitly specified, Randomize uses Timer to set it (not entirely true, but we will get there). Timer() returns seconds since mid

## What's new in PHP 8.3

DevFeed: [What's new in PHP 8.3](<https://devfeed.tech/articles/what-s-new-in-php-8-3-44176.md>)

Original publisher: [Read original article](<https://stitcher.io/blog/new-in-php-83>)

Author: Brent

Published: 2023-11-23T00:00:00Z

Content type: article

Language: en

Sources: [Stitcher](<https://devfeed.tech/sources/stitcher-io.md>)

Topics: [PHP](<https://devfeed.tech/topics/php.md>), [class](<https://devfeed.tech/topics/class.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [enum](<https://devfeed.tech/topics/enum.md>)

Tags: [2023](<https://devfeed.tech/tags/2023.md>), [arrays](<https://devfeed.tech/tags/arrays.md>), [classes](<https://devfeed.tech/tags/classes.md>), [enum](<https://devfeed.tech/tags/enum.md>), [json](<https://devfeed.tech/tags/json.md>), [memory](<https://devfeed.tech/tags/memory.md>), [performance](<https://devfeed.tech/tags/performance.md>), [php](<https://devfeed.tech/tags/php.md>), [update](<https://devfeed.tech/tags/update.md>), [what-s-new](<https://devfeed.tech/tags/what-s-new.md>)

### AI overview

A feature-by-feature overview of PHP 8.3, covering readonly class updates, typed class constants, the #[\Override] attribute, negative array indices, anonymous readonly classes, JSON validation, and additions to the Randomizer API.

### Source excerpt

Read the full post on https://stitcher.io/blog/new-in-php-83

## Entropy In Cryptography: Key To Security & Randomness

DevFeed: [Entropy In Cryptography: Key To Security & Randomness](<https://devfeed.tech/articles/entropy-in-cryptography-key-to-security-randomness-45067.md>)

Original publisher: [Read original article](<https://www.netdata.cloud/blog/understanding-entropy-the-key-to-secure-cryptography-and-randomness/>)

Published: 2023-05-03T00:00:00Z

Content type: article

Language: en

Sources: [Netdata](<https://devfeed.tech/sources/blog-on-netdata.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [Security](<https://devfeed.tech/topics/security.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [Operating system](<https://devfeed.tech/topics/operating-system.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [protocols](<https://devfeed.tech/topics/protocols.md>), [SSL](<https://devfeed.tech/topics/ssl.md>), [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>), [ssh](<https://devfeed.tech/topics/ssh.md>), [Secure Boot](<https://devfeed.tech/topics/secure-boot.md>)

Tags: [attacks](<https://devfeed.tech/tags/attacks.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [generated-keys](<https://devfeed.tech/tags/generated-keys.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [linux](<https://devfeed.tech/tags/linux.md>), [network](<https://devfeed.tech/tags/network.md>), [operating-systems](<https://devfeed.tech/tags/operating-systems.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [secure-boot](<https://devfeed.tech/tags/secure-boot.md>), [security](<https://devfeed.tech/tags/security.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [ssl](<https://devfeed.tech/tags/ssl.md>), [tls](<https://devfeed.tech/tags/tls.md>)

### AI overview

This article explains entropy as the randomness or unpredictability needed to generate secure random numbers and cryptographic keys. It describes operating-system entropy pools, the risk of depletion and blocking, and hardware and software approaches for supplying additional entropy, including hardware random number generators, TPMs, and Haveged.

### Source excerpt

Entropy is a measure of the randomness or unpredictability of data. In the context of cryptography, entropy is used to generate random numbers or keys that are essential for secure communication and encryption. Without a good source of entropy, cryptographic protocols can become vulnerable to attacks that exploit the predictability of the generated keys. What is Entropy? In most operating systems, entropy is generated by collecting random events from various sources, such as hardware interrupts, mouse movements, keyboard presses, and disk activity. These events are fed into a pool of entropy, which is then used to generate random numbers when needed.

## What's new in PHP 8.2

DevFeed: [What's new in PHP 8.2](<https://devfeed.tech/articles/what-s-new-in-php-8-2-44175.md>)

Original publisher: [Read original article](<https://stitcher.io/blog/new-in-php-82>)

Author: Brent

Published: 2022-12-08T00:00:00Z

Content type: article

Language: en

Sources: [Stitcher](<https://devfeed.tech/sources/stitcher-io.md>)

Topics: [PHP](<https://devfeed.tech/topics/php.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [deprecated](<https://devfeed.tech/topics/deprecated.md>)

Tags: [2022](<https://devfeed.tech/tags/2022.md>), [deprecated](<https://devfeed.tech/tags/deprecated.md>), [php](<https://devfeed.tech/tags/php.md>), [what-s-new](<https://devfeed.tech/tags/what-s-new.md>)

### AI overview

An overview of PHP 8.2 features, performance improvements, changes, and deprecations, including readonly classes, dynamic property deprecation, a new random number generator, standalone types, and disjunctive normal form types.

### Source excerpt

Read the full post on https://stitcher.io/blog/new-in-php-82

## Libraries I use for generative art

DevFeed: [Libraries I use for generative art](<https://devfeed.tech/articles/libraries-i-use-for-generative-art-37303.md>)

Original publisher: [Read original article](<https://muffinman.io/blog/js-libraries-for-generative-art/>)

Author: Stanko

Published: 2022-02-28T00:00:00Z

Content type: article

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [generative art](<https://devfeed.tech/topics/generative-art.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [plotting](<https://devfeed.tech/topics/plotting.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>)

Tags: [generative-art](<https://devfeed.tech/tags/generative-art.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [programming](<https://devfeed.tech/tags/programming.md>), [random](<https://devfeed.tech/tags/random.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>)

### AI overview

A curated list of JavaScript libraries used to create generative art, organized into categories including randomness and noise, geometry, vector fields, 3D, spatial data structures, Axidraw, and other tools. The author selected the libraries based partly on performance and describes their practical uses.

### Source excerpt

This is going to be a very straight forward post. Just a list of JavaScript libraries I use in creating my generative art. And I really mean I use (and abuse) them. All of them are used in multiple of my drawings. I'll include couple of photos under the respective libraries. I finally settled with these libraries after trying several other alternatives for each. Performance was one of the key factors (especially as generative work can get brute-forcy sometimes). Huge thank you to all people who created and shared these wonderful tools!Also, as a rule of thumb, when you find a good library, you might want to check author's GitHub profile. In the most cases you are going to find more useful stuff there. That is exactly how I found some of these. Categories: Randomness and noise Geometry Vector fields 3D vector line engines Spatial data structures Axidraw Other Randomness and noise # seedrandom # In generative programming it is super important to be able to repeat the same output. As randomness is heavily involved, we need a way to repeat random values. That's where seedrandom steps in as an excellent seeded random number generator. random-words # For random number generator seeds, I like to use real words instead of randomly generated strings. This library is a simple dictionary of couple of thousands english words. simplex-noise # Fast implementation of Open Simplex noise. poisson-disk-sampling # When you need a random collections of points in space, Poisson sampling is a great tool. It gives us much more natural distribution than just using random values. Geometry # js-angusj-clipper # This library is a lifesaver. For all your polygon clipping and offseting needs. And it is super fast as it is implemented in WebAssembly. voronoi # Sometimes I think I use Voronoi diagrams too much in my work. Anyway, this library efficiently computes Voronoi diagrams. robust-point-in-polygon # For figuring out if the point is inside of the polygon. I tried a couple of other libraries

## Insomnihack22: Reversing a flawed ECC rng-as-a-service Go Server

DevFeed: [Insomnihack22: Reversing a flawed ECC rng-as-a-service Go Server](<https://devfeed.tech/articles/insomnihack22-reversing-a-flawed-ecc-rng-as-a-service-go-server-39681.md>)

Original publisher: [Read original article](<https://mahaloz.re/2022/02/07/Insomnihack22-go-rev.html>)

Published: 2022-02-07T00:00:00Z

Content type: tutorial

Language: en

Sources: [Mahaloz](<https://devfeed.tech/sources/mahaloz-re.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [Server](<https://devfeed.tech/topics/server.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [debugging](<https://devfeed.tech/topics/debugging.md>)

Tags: [crypto](<https://devfeed.tech/tags/crypto.md>), [ctf](<https://devfeed.tech/tags/ctf.md>), [ecc](<https://devfeed.tech/tags/ecc.md>), [game-hacking](<https://devfeed.tech/tags/game-hacking.md>), [go](<https://devfeed.tech/tags/go.md>), [ida](<https://devfeed.tech/tags/ida.md>), [reversing](<https://devfeed.tech/tags/reversing.md>), [server](<https://devfeed.tech/tags/server.md>), [static-linking](<https://devfeed.tech/tags/static-linking.md>)

### AI overview

This write-up explains how to reverse a Go binary from the Insomnihack Teaser 2022 Nobus101 challenge. The binary provides an RNG service using a flawed P-256 elliptic-curve construction with reversible parameters, and the solution applies ideas from the Dual EC cryptography paper.

### Source excerpt

Reversing a Go binary to find it generates flawed RNG from a P256 Elliptic Curve chosen with a reversible P and Q for number generation. Solution based on the Dual EC crypto paper.

## Julia 1.7 Highlights

DevFeed: [Julia 1.7 Highlights](<https://devfeed.tech/articles/julia-1-7-highlights-46332.md>)

Original publisher: [Read original article](<https://julialang.org/blog/2021/11/julia-1.7-highlights/index.html>)

Author: Jeff Bezanson; Jameson Nash; Ian Butterworth; Kristoffer Carlsson; Shuhei Kadowaki; Elliot Saba; Viral B Shah; Mosè Giordano; Simeon Schaub; Nicholas Bauer

Published: 2021-11-30T00:00:00Z

Content type: release

Language: en

Sources: [JuliaLang - The Julia programming language](<https://devfeed.tech/sources/julialang-the-julia-programming-language.md>)

Topics: [The Julia Language](<https://devfeed.tech/topics/julia.md>), [multithreading](<https://devfeed.tech/topics/multithreading.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [synchronization](<https://devfeed.tech/topics/synchronization.md>), [reproducibility](<https://devfeed.tech/topics/reproducibility.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>)

Tags: [atomic](<https://devfeed.tech/tags/atomic.md>), [atomics](<https://devfeed.tech/tags/atomics.md>), [multithreading](<https://devfeed.tech/tags/multithreading.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [reproducibility](<https://devfeed.tech/tags/reproducibility.md>), [scheduling](<https://devfeed.tech/tags/scheduling.md>), [synchronization](<https://devfeed.tech/tags/synchronization.md>)

### AI overview

Julia 1.7 is presented as a release overview, highlighting changes for multithreaded programs. The release introduces task-based random-number state for reproducible results, addresses runtime race conditions and synchronization issues, improves workload scheduling, and adds atomic access to mutable struct fields.

### Source excerpt

Some highlights of the Julia 1.7 release.

## Functional Duplications

DevFeed: [Functional Duplications](<https://devfeed.tech/articles/functional-duplications-21797.md>)

Original publisher: [Read original article](<http://blog.cleancoder.com/uncle-bob/2021/10/28/functional-duplication.html>)

Published: 2021-10-28T00:00:00Z

Content type: opinion

Language: en

Sources: [Clean Code](<https://devfeed.tech/sources/the-clean-code-blog.md>), [Robert C. Martin](<https://devfeed.tech/sources/robert-c-martin.md>)

Topics: [bug](<https://devfeed.tech/topics/bug.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [test-coverage](<https://devfeed.tech/topics/test-coverage.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [random](<https://devfeed.tech/tags/random.md>), [tdd](<https://devfeed.tech/tags/tdd.md>), [test-coverage](<https://devfeed.tech/tags/test-coverage.md>)

### AI overview

The article describes debugging a crash in a Space War game after randomly placed bases were duplicated at the same location. Despite using TDD and having test coverage, the defect appeared during gameplay and was traced by adding runtime checks until the responsible low-frequency function was found.

### Source excerpt

I broke out my old Space War game a few days ago and decided to make a few changes to speed the game up and make it more fun to play. In so doing I discovered a very interesting bug. One of the changes I made was to populate the initial space with a few random bases scattered here and there. This would allow the player some extra resources with which to battle the Klingons while building up a network of more bases. While I was playing the modified game, it crashed. Hard. Now I wrote this with TDD, and I was very disciplined about the cleanliness of the code, and the test coverage. So this was unexpected. So I dug up all my old debugging skills from the pit in which I had buried them, and started to work out what was going on. It wasn't long before I realized that crash was occuring because a transport was being launched between two bases, but the angle of the velocity vector of the transport was :bad-angle. This can only happen if the two bases exist at the exact same location. Bases don't move around in this game, so there's no chance that two bases will accidentally slide on top of each other. There is a very (very) minor chance that the random number generator will put two bases on top of each other at the start of the game; but the odds are so miniscule that didn't worry about it. In any case, this crash happened well into the game I was playing, so initial values could not have been the cause. Fortunately it's pretty easy to hunt and peck around in the game, so I was quickly able to discover that the two bases in question were duplicates of each other. Something in my code was duplicating bases! Well now that should't be too hard to find. So I wrote a litte function that would examine the world and halt with a message if the world contained two bases at the same location. I called this function in the main update loop, and sure enough after 20 minutes of play the program halted with my message. Unfortunately being able to detect that the duplication occurred di

## Using Randomized Inputs to Improve Software Test Coverage

DevFeed: [Using Randomized Inputs to Improve Software Test Coverage](<https://devfeed.tech/articles/stop-using-constants-feed-randomized-input-to-test-cases-47417.md>)

Original publisher: [Read original article](<https://engineering.zalando.com/posts/2021/02/randomized-input-testing-ios.html>)

Author: Vijaya Prakash Kandel

Published: 2021-02-01T23:00:00Z

Content type: tutorial

Language: en

Sources: [Zalando](<https://devfeed.tech/sources/zalando-engineering-blog.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [Code](<https://devfeed.tech/topics/code.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [code](<https://devfeed.tech/tags/code.md>), [ios](<https://devfeed.tech/tags/ios.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [permutation](<https://devfeed.tech/tags/permutation.md>), [random](<https://devfeed.tech/tags/random.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [zalando](<https://devfeed.tech/tags/zalando.md>)

### AI overview

This tutorial explains how replacing hand-written constant test inputs with randomized inputs can expose defects across many possible values. It discusses a Randomizer library, extending it for custom types, and applying the technique to iOS tests and accessibility-related model data.

### Source excerpt

Most test cases assert using hand typed constants. Leveraging randomized input is a much better approach.

## Generating Random Numbers in Ruby: rand, Random & SecureRandom

DevFeed: [Generating Random Numbers in Ruby: rand, Random & SecureRandom](<https://devfeed.tech/articles/generating-random-numbers-in-ruby-rand-random-securerandom-85899.md>)

Original publisher: [Read original article](<https://blog.appsignal.com/2018/07/31/generating-random-numbers-in-ruby.html>)

Author: Joyce Echessa

Published: 2018-07-31T00:00:00Z

Content type: tutorial

Language: en

Sources: [AppSignal](<https://devfeed.tech/sources/appsignal.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [RSpec](<https://devfeed.tech/topics/rspec.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [database](<https://devfeed.tech/tags/database.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [passwords](<https://devfeed.tech/tags/passwords.md>), [random](<https://devfeed.tech/tags/random.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [tests](<https://devfeed.tech/tags/tests.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

### AI overview

A practical guide to Ruby randomness explains when to use `rand`, seeded `Random` instances, and `SecureRandom`. It covers ranges, reproducible tests, secure tokens and UUIDs, and when third-party gems can help with statistical distributions or realistic fake data.

### Source excerpt

Learn every way to generate random numbers in Ruby: rand and ranges, seeded Random instances for tests, and SecureRandom for tokens, UUIDs, and passwords.

## The Blum-Blum-Shub Pseudorandom Generator

DevFeed: [The Blum-Blum-Shub Pseudorandom Generator](<https://devfeed.tech/articles/the-blum-blum-shub-pseudorandom-generator-40401.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2016/07/11/the-blum-blum-shub-pseudorandom-generator/>)

Published: 2016-07-11T08:00:54Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [Python](<https://devfeed.tech/topics/python.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Computer science](<https://devfeed.tech/topics/computer-science.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [computer-science](<https://devfeed.tech/tags/computer-science.md>), [generator](<https://devfeed.tech/tags/generator.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [miller-rabin](<https://devfeed.tech/tags/miller-rabin.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

A tutorial on the Blum-Blum-Shub pseudorandom number generator, including a Python implementation, prime selection, quadratic residues, and the computational assumptions behind its unpredictability.

### Source excerpt

Problem: Design a random number generator that is computationally indistinguishable from a truly random number generator. Solution (in Python): note this solution uses the Miller-Rabin primality tester, though any primality test will do. See the github repository for the referenced implementation. from randomized.primality import probablyPrime import random def goodPrime(p): return p % 4 == 3 and probablyPrime(p, accuracy=100) def findGoodPrime(numBits=512): candidate = 1 while not goodPrime(candidate): candidate = random.getrandbits(numBits) return candidate def makeModulus(): return findGoodPrime() * findGoodPrime() def parity(n): return sum(int(x) for x in bin(n)[2:]) % 2 class BlumBlumShub(object): def __init__(self, seed=None): self.

## Hardware entropy: RDRAND

DevFeed: [Hardware entropy: RDRAND](<https://devfeed.tech/articles/hardware-entropy-rdrand-38923.md>)

Original publisher: [Read original article](<https://idea.popcount.org/2013-03-25-hardware-entropy-rdrand>)

Author: Marek

Published: 2013-03-24T23:00:00Z

Content type: article

Language: en

Sources: [Marek Majkowski](<https://devfeed.tech/sources/marek-majkowski.md>)

Topics: [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [federal information processing standards](<https://devfeed.tech/topics/federal-information-processing-standards.md>)

Tags: [aes](<https://devfeed.tech/tags/aes.md>), [cryptographic](<https://devfeed.tech/tags/cryptographic.md>), [cryptographic-standards](<https://devfeed.tech/tags/cryptographic-standards.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [fips](<https://devfeed.tech/tags/fips.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [instructions](<https://devfeed.tech/tags/instructions.md>), [nist](<https://devfeed.tech/tags/nist.md>), [random](<https://devfeed.tech/tags/random.md>), [security](<https://devfeed.tech/tags/security.md>), [source](<https://devfeed.tech/tags/source.md>)

### AI overview

RDRAND is described as using an on-processor entropy source and an AES CBC-MAC conditioner to produce random bits; the author notes that relying on its quality requires trusting Intel's entropy source. The instruction can temporarily return no data under heavy parallel demand, indicated by a cleared carry flag. The included Linux-kernel-derived snippet retries up to 10 times and reports success through its return value. The post presents RDRAND as a way to obtain hardware-generated entropy without a context switch.

### Source excerpt

Hardware entropy: RDRAND This is the third blog post on machine instructions: This time I've noticed instruction. According to Wikipedia is: ... a random number generator that is compliant with security and cryptographic standards such as NIST SP800-90, FIPS 140-2, and ANSI X9.82. The generator uses an on-processor entropy source, which passes the randomly generated bits to an AES (in CBC-MAC mode) conditioner to distill the entropy into non-deterministic random numbers. Sounds good.

## Making C compiler generate obfuscated code

DevFeed: [Making C compiler generate obfuscated code](<https://devfeed.tech/articles/making-c-compiler-generate-obfuscated-code-20536.md>)

Original publisher: [Read original article](<https://yurichev.com/blog/58/>)

Published: 2010-12-06T23:00:00Z

Content type: article

Language: en

Sources: [Dennis Yurichev](<https://devfeed.tech/sources/dennis-yurichev.md>)

Topics: [C](<https://devfeed.tech/topics/c.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Reverse Engineering](<https://devfeed.tech/topics/reverse-engineering.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [code](<https://devfeed.tech/tags/code.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [random](<https://devfeed.tech/tags/random.md>), [reverse-engineering](<https://devfeed.tech/tags/reverse-engineering.md>)

### AI overview

The article describes patching the Tiny C compiler to insert random noise code between effective instructions, making compiled programs more difficult to reverse engineer. It notes the performance cost, suggests limiting obfuscation to critical algorithms, and reports that an example crackme was eventually reversed.

### Source excerpt

Making C compiler generate obfuscated code