// Create encrypter/decrypter class
DesEncrypter encrypter = new DesEncrypter(key);
// Encrypt
File encryptedFile = new File(uploadFile.getAbsolutePath() + ".des");
encrypter.encrypt(new FileInputStream(uploadFile),
new FileOutputStream(encryptedFile));
/*
* 利用公钥加密DES密钥
*/