[1.3.3] Fix Security::hash()

See #2277