src/com/vehiclerental/dataLayer/entities/Booking.java
/**
     * Decrypts the previously encrypted properties of the entity
     */
Decrypts the previously encrypted properties of the entity
Decrypts the previously encrypted properties of the entity
public void decrypt() {
        try {
            this.creditCardNumberEncrypted = CryptoUtils.decrypt(creditCardNumberEncrypted);
            this.creditCardExpirationMonthEncrypted = CryptoUtils.decrypt(creditCardExpirationMonthEncrypted);
            this.creditCardExpirationYearEncrypted = CryptoUtils.decrypt(creditCardExpirationYearEncrypted);
            this.creditCardCvcCodeEncrypted = CryptoUtils.decrypt(creditCardCvcCodeEncrypted);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
public void decrypt ( ) { try { this . creditCardNumberEncrypted = CryptoUtils . decrypt ( creditCardNumberEncrypted ) ; this . creditCardExpirationMonthEncrypted = CryptoUtils . decrypt ( creditCardExpirationMonthEncrypted ) ; this . creditCardExpirationYearEncrypted = CryptoUtils . decrypt ( creditCardExpirationYearEncrypted ) ; this . creditCardCvcCodeEncrypted = CryptoUtils . decrypt ( creditCardCvcCodeEncrypted ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
Decrypts the previously encrypted properties of the entity
Decrypts the previously encrypted properties of the entity