6 Actions

How are private keys stored on disk?I think the 'magic' you refer to is a password-based-key-derivation-function such as PBKDF2 or, ideally, Scrypt. It's a function that derives a cryptographic key from a password, and is computationally expensive to the point that brute-force attacks become infeasible.