Skip to content

Instantly share code, notes, and snippets.

@Xansiety
Forked from Klerith/random-hex.md
Created June 8, 2024 17:51
Show Gist options
  • Select an option

  • Save Xansiety/c0bc00adad59a4ddbe18107f833bfc9b to your computer and use it in GitHub Desktop.

Select an option

Save Xansiety/c0bc00adad59a4ddbe18107f833bfc9b to your computer and use it in GitHub Desktop.
Secure Random Hex

Comando con Ruby instalado

ruby -rsecurerandom -e 'puts SecureRandom.hex(20)'

Ejemplo: No usar en producción

4510c8cf2fe423f8be5afccbdd30c678677e172b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment