Slack Community
Articles
Jobs
Events
Guidelines
Post a Job
Join Our Slack
Home
Articles
Cryptographically secure 32-bit RNG in strict ZSH
Source: www.commandlinefu.com
Cryptographically secure 32-bit RNG in strict ZSH
4 years ago
srandom() { zmodload zsh/system; local byte; local -i rnd=0; repeat 4; do sysread -s 1 byte || return; rnd=$(( rnd
Read Full Article On www.commandlinefu.com
Related Articles
Community Partners
DevOps Careers
Want your job here? Contact Us.