Derives a SHA256 key from a password using an extension of the PBKDF1 algorithm.