-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find suitable hash algorithm implementation in pure Lua #194
Comments
Okey fine if you ask me that kindly 😆 |
@positive07 thanks! |
Well I have a SHA-256 working, gonna investigate for SHA-512 now EDIT: Well actually later, have things to do right now 😞 |
Why didnt you use SHA-256 when it is already in SHA-512 requires 64bits, so I'll need to use something like this, the algorithm itself is pretty much the same as SHA-256, so after I implement that I will test them all. Another note: Boolsheet's and the hash library have a loading overhead, after that they are pretty darn fast, so it is recommend it to load it once, but the current hashing system creates a thread whenever there is a need for hashing, it may be better to have a thread that is constantly waiting for messages, and hashes whatever it gets (basically to put a loop in the thread), just an idea. |
I like that idea but we would have to handle errors with the thread and kinda have thread management figured out. |
That is pretty simple anyway, I can provide a code for that, tomorrow or tonight really late 😝 |
I am looking for a stable and fast Lua lib with a version of SHA.
SHA1, SHA256 or SHA512 would be best, imo. The higher, the better, assuming that the performance isn't miserable.
A good candidate (which was used in vapor0.x): https://bitbucket.org/Boolsheet/bslf
@positive07 says he will research this topic 😄
The text was updated successfully, but these errors were encountered: