memory control of SCrypt hashing

Description

When high memory requirements are set on password algo (e.g. 17 or higher) then unity uses a lot of ram to encode password. It is easy to crash an instance with OOM.

 

Easily reproducible on credential test settings screen - use hard settings, then launch test, cancel, launch again, cancel, ... couple of times.

Environment

None
Done

Assignee

Krzysztof

Reporter

Krzysztof

Labels

None

Fix versions

Priority

Medium