根据密码生成密钥 @param password 密码 @return 密钥 @throws NoSuchAlgorithmException 没有该密钥算法
(String password)
| 225 | * @throws NoSuchAlgorithmException 没有该密钥算法 |
| 226 | */ |
| 227 | public static XKey key(String password) throws NoSuchAlgorithmException { |
| 228 | return key(DEFAULT_ALGORITHM, DEFAULT_KEYSIZE, DEFAULT_IVSIZE, password); |
| 229 | } |
| 230 | |
| 231 | /** |
| 232 | * 根据密码生成密钥 |