Post #3257607
2026-05-30 05:22 UTC
@lina@vt.social @dramforever@mastodon.social
I mean.... Even something like this is better than trusting some random website to generate your secrets.....
function genRandomString()
{
LEN=${1:-16}
tr -dc "a-zA-Z0-9!@#$%^&*()_+?><~\`;'" < /dev/urandom | head -c $LEN;
echo ''
}
Replies (0)
No replies.