http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/ea1e8d1228db50c9776998ff50d270af52b35540/test/unit_tests_d/ut_scrypt.py
r:3}: {crypto.hash_presets[hp]!r:12} ') st = time.time() ret = crypto.scrypt_hash_passphrase(pw,salt,hp).hex() t = time.time() - st vmsg('' if cfg.test_suite_deterministic else f' {t:0.4f} secs') assert ret == res, ret if cfg.quiet: silence() cfg.force_standalone_scrypt_module = False vmsg('Passwords (auto module selection):') test_passwords() vmsg('Hash presets (auto module selection):') test_presets((1,2,3,4) if cfg.fast else (1,2,3,4,5,6,7))...