First, we use keytool to create a key store for holding a generated encryption key.
首先,使用 keytool 创建用于保存生成的加密密钥的密钥库。
Step 4: Create an Encryptor object with a data encryption key, a key encryption key, their associated algorithms, and key information to be included in the output.
步骤 4:利用一个数据加密密钥、一个密钥加密密钥、与这两个密钥相关联的算法、以及将来包含在输出信息中的密钥信息,根据它们来创建一个 Encryptor 对象。
If an encryption key is created with this option, the encryption key is stored on the agent disk with password protection.
如果加密密匙在创建时带有这个选项,那么它就存储在有密码保护的代理磁盘上。
应用推荐