diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2021-04-02 21:54:54 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2021-10-26 11:38:56 -0700 |
commit | e3f05981cbeb0b7721f960ef88effa77be2af5ce (patch) | |
tree | 78db97cec6116bc927c554fdb1982e8a87021468 /examples/dbus | |
parent | 0077eac4e4794cb956531ff89a9007dfc5dc78c3 (diff) |
QHash: use the shadow seed
[ChangeLog][Important Behavior Changes] The qHash functions operating on
string-like types and the qHashBits function will now mix in a shadow
seed (not available in any API) if the provided main seed is not 0. This
means the hashing value for any particular input has an almost zero
chance of being equal in two different processes, even if processes of
the same application. This unpredictability makes QHash more strongly
resist denial-of-service attacks through degenerate hashing tables.
Change-Id: Id2983978ad544ff79911fffd167240196f7cd5c8
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/dbus')
0 files changed, 0 insertions, 0 deletions