Author: William Yager 2014-03-12 20:49:43
Published on: 2014-03-12T20:49:43+00:00
In an email conversation between Pavol Rusnak and William Yager, they discussed the feasibility of using PBKDF2-HMAC-SHA512 as a means of encryption for storage wallets. They noted that this method is easy to implement even on devices with limited RAM, and can run at reasonable speeds on slow, embedded ARM processors. They mentioned that TREZOR, which has a 120MHz ARM processor, does 1024 rounds of PBKDF2-HMAC-SHA512 in approximately one second, with 2^16 taking around a minute and 2^21 taking around half an hour. They considered these time scales reasonable for encryption/decryption on slow devices like storage wallets.They further explained that even if it takes several minutes to encrypt/decrypt, it is not unreasonable for a one-time activity like printing a cold wallet using a Raspberry Pi based printer or importing a heavily encrypted wallet into a phone. Additionally, the deterministic amount of time it will take to encrypt/decrypt allows for the easy addition of a progress bar to a UI.
Updated on: 2023-06-08T14:51:19.804681+00:00