DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Cryptographically secure 32-bit RNG in strict ZSH

4 years ago www.commandlinefu.com

Summary: This is a summary of an article originally published by the source. Read the full original article here →

srandom() { zmodload zsh/system; local byte; local -i rnd=0; repeat 4; do sysread -s 1 byte || return; rnd=$(( rnd

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com