Skip to content
Snippets Groups Projects
Unverified Commit ae593d84 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-core: convert site seed to lowercase

While we use the hexadecimal representation as a hash input for simplicity,
it should not be interpreted as case-sensitive.
parent 0ceb25e3
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ function site_seed_bytes(key, length)
-- cryptographic strength
while ret:len() < 2*length do
i = i + 1
v = hash.md5(v .. key .. site.site_seed .. i)
v = hash.md5(v .. key .. site.site_seed:lower() .. i)
ret = ret .. v
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment