public void encrypt(String password, IEncrypt ie) { byte[] payload = seed.getBytes(); byte[] enc = ie.encrypt(payload, password); encrypted_wallet = Base58.encode(enc); encryption_type = ie.Name; seed = null; }