↑ ↑ ↓ ↓ ← → ← → B A
classic. textbook. 10/10 nerd shit.
nizar was here. the site wasn't ready. the cat was.
// nuv.dev / projects / randgen
cryptographically-random string generator
Debian / Ubuntu — one command:
curl -fsSL https://apt.nuv.dev/randgen/install.sh | sudo bashAfter that it updates through apt like any other package.
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://apt.nuv.dev/public.key \
| sudo gpg --dearmor --yes -o /etc/apt/keyrings/nuv.gpg
echo "deb [signed-by=/etc/apt/keyrings/nuv.gpg] https://apt.nuv.dev stable main" \
| sudo tee /etc/apt/sources.list.d/nuv.list
sudo apt update
sudo apt install randgenmacOS — via Homebrew:
brew tap NizarMasadeh/tap
brew install randgen Update later with brew upgrade randgen. If Homebrew refuses an untrusted tap, run brew trust nizarmasadeh/tap once, then re-run the install.
randgen # 32-char string (default)
randgen 64 # 64-char string
randgen 32 -p test_ # test_T3WSXYU9BJ1N508YMR5B
randgen 48 -p sk-live_ # sk-live_MRGUFYF4KZO1L93M3D...| Argument | Description | Default |
|---|---|---|
LENGTH | Number of characters to generate | 32 |
-p PREFIX | String prepended to the output | (none) |
Output is drawn from [A-Za-z0-9], sourced from a CSPRNG.
/\_/\ ( o.o ) > ^ <