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