[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Entropy in the implementation of Lua
- From: bil til <biltil52@...>
- Date: Wed, 15 Mar 2023 10:54:07 +0100
If you use the compiled version of Lua inside your source code (NOT
pre-linked, as e. g. Windows-DLL), this usually is no problem, just
look for the randomize functions and place some breakpoint there.
... I ran into this some months ago (my controller also has a special
analogue random generator) - these are not many points you have to
change (I think only two...).
(If I have the answers on my questions here correctly in mind, this
randomization is done mainly as a "random source" for the hash code
generation, which is needed to speed up access to the string tables /
for string equality checking... . To avoid "evil hackers" to flood Lua
with some "predefined set of strings" which then would somehow "flood
the hash table concept" / "make it unusable".)