Switch key derivation function to Scrypt, automatically upgrade on login, begin refactoring crypto code to SubrosaCrypto module.