Example method for encrypting/decrypting Bitcoin keys