Ejemplo n.º 1
0
 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;
   }
 }
Ejemplo n.º 2
0
 public void setUnverifiedEmail(String unverifiedEmail) {
   if (unverifiedEmail != null) {
     try {
       this.unverifiedEmail = AESencrp.encrypt(unverifiedEmail.toLowerCase());
     } catch (Exception e) {
     }
   } else {
     this.unverifiedEmail = null;
   }
 }