Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by Maken

21 hours ago

My guess is that someone was instructed to generate "random bytes" and just did 'char secret = rand()' or something similar.

1 comment

Maken

Reply

heaney-555  12 hours ago

Yup. I think they literally think a 256-bit key is just a random number between 1 and 255.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities