* 利用公钥加密DES密钥
*/
// 从文件中加载公钥
RSAEncrypter encrypt = new RSAEncrypter();
String publicKeyPath = "D:/hdfs/" + userId + "/publicKey";
RSAPublicKey publicKey = (RSAPublicKey) encrypt.loadKey(
publicKeyPath, 1);
encryptedDataSecretKey = encrypt.encrypt(publicKey,
key.getEncoded());
} catch (Exception e) {
e.printStackTrace();