lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Am Do., 24. Nov. 2022 um 14:20 Uhr schrieb Gé Weijers <ge@weijers.org>:
> The random seed produced by luai_makeseed is used to make the hash function that is used for strings unpredictable. The implementation of strings relies on this hash to produce nicely distributed values, and without some randomization an attacker could easily produce thousands of strings that all hash to the same value, which would cause very slow behavior for instance when they're used as table keys.

Interesting info from the "bad world of hacking" ... thank you... .