try {
final CryptoSymmetricAlgo algo = (CryptoSymmetricAlgo) cbCodecs.getSelectedItem();
final CryptoSymmetric crypto = new CryptoSymmetricImpl(algo);
final SecretKey key = crypto.generateKey(new String(password1.getPassword())
.getBytes(Constants.ENCODING_DEFAULT));
crypto.encrypt(scrambler.getModuleData().getFile(KEY_SCRAMBLE_INPUT), scrambler.getModuleData()
.getFile(KEY_SCRAMBLE_OUTPUT), key);
scrambler.getModuleData().addValue(KEY_SCRAMBLE_ALGO, algo);
// } catch (IOException ex) {
// log.error("Could not scramble file", ex); //$NON-NLS-1$
// scrambler