question: private EncryptedProperties ( String password ) { PBEParameterSpec ps = new javax . crypto . spec . PBEParameterSpec ( salt , 20 ) ; SecretKeyFactory kf ; try { kf = SecretKeyFactory . getInstance ( "PBEWithMD5AndDES" ) ; SecretKey k = kf . generateSecret ( new javax . crypto . spec . PBEKeySpec ( password . toCharArray ( ) ) ) ; encrypter = Cipher . getInstance ( "PBEWithMD5AndDES/CBC/PKCS5Padding" ) ; decrypter = Cipher . getInstance ( "PBEWithMD5AndDES/CBC/PKCS5Padding" ) ; encrypter . init ( Cipher . ENCRYPT_MODE , k , ps ) ; decrypter . init ( Cipher . DECRYPT_MODE , k , ps ) ; } catch ( NoSuchAlgorithmException e ) { e . printStackTrace ( ) ; } catch ( NoSuchPaddingException e ) { e . printStackTrace ( ) ; } catch ( InvalidKeySpecException e ) { e . printStackTrace ( ) ; } catch ( InvalidKeyException e ) { e . printStackTrace ( ) ; } catch ( InvalidAlgorithmParameterException e ) { e . printStackTrace ( ) ; } }
target:  Instantiates a new encrypted properties.