public UserAccount(String firstName, String lastName, String email) { this.firstName = firstName; this.lastName = lastName; try { this.email = AESencrp.encrypt(email); } catch (Exception e) { this.email = email; } }
public void setUnverifiedEmail(String unverifiedEmail) { if (unverifiedEmail != null) { try { this.unverifiedEmail = AESencrp.encrypt(unverifiedEmail.toLowerCase()); } catch (Exception e) { } } else { this.unverifiedEmail = null; } }