BREAKING CHANGE: Decode and ReadFile functions now take an extra optional passphrase parameter for private key decryption.