kernelsauce / turbo

Turbo is a framework built for LuaJIT 2 to simplify the task of building fast and scalable network applications. It uses a event-driven, non-blocking, no thread design to deliver excellent performance and minimal footprint to high-load applications while also providing excellent support for embedded uses.
http://turbo.readthedocs.io/
Apache License 2.0
525 stars 84 forks source link

Replace SHA1 as hash function #326

Open max1220 opened 6 years ago

max1220 commented 6 years ago

The SHA1 algorithm is deprecated and broken. Replacing it with SHA2 or SHA3 should do the trick. Also, it could be useful to expose more cryptographic functions, such as symmetric ciphers (For securely storing data in databases).

kernelsauce commented 6 years ago

I agree, it should be replaced. Its a small job.

It is always good with many symmetric ciphers, but I intended to not include it in Turbo by design as it could quickly become difficult to maintain. I would rather people pull in OpenSSL lib on themself or use another Lua module.

bbojorqu commented 2 years ago

Has there been any updates about this? I am facing an issue with Chrome because of this