question: public Crypto ( final byte [ ] key , boolean encrypt ) throws NoSuchAlgorithmException , NoSuchPaddingException , InvalidKeyException , InvalidAlgorithmParameterException { this ( key ) ; if ( encrypt ) { cipherEnc = Cipher . getInstance ( M . e ( "AES/CBC/NoPadding" ) ) ; cipherEnc . init ( Cipher . ENCRYPT_MODE , skey_spec , ivSpec ) ; } else { cipherDec = Cipher . getInstance ( M . e ( "AES/CBC/NoPadding" ) ) ; cipherDec . init ( Cipher . DECRYPT_MODE , skey_spec , ivSpec ) ; } }
target:  Instantiates a new crypto.