指定密码 @param password 密码 @return this
(String password)
| 52 | * @return {@code this} |
| 53 | */ |
| 54 | public XDecryption use(String password) { |
| 55 | try { |
| 56 | this.key = XKit.key(password); |
| 57 | return this; |
| 58 | } catch (NoSuchAlgorithmException e) { |
| 59 | throw new IllegalStateException(e); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * 指定高级密码 |