Flashes Home Search Notifications Sign in Post
Steven ⬢ @styfle.dev · May 4
1 / 2

That one trick your LLM doesn't know about... Instead of createHash('sha1').update(data).digest('hex') You can do hash('sha1', data, 'hex')

20 likes 1 replies

?

Replies

leah 🛸 · May 4

ugh why isn't this documented better in nodejs.org/api/crypto.h... this is so much nicer!

Legal

Privacy Policy Terms and Conditions

Contact

Support FAQs

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store