MCPcopy Create free account
hub / github.com/core-lib/xjar / key

Method key

src/main/java/io/xjar/XKit.java:227–229  ·  view source on GitHub ↗

根据密码生成密钥 @param password 密码 @return 密钥 @throws NoSuchAlgorithmException 没有该密钥算法

(String password)

Source from the content-addressed store, hash-verified

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 * 根据密码生成密钥

Callers 9

XLauncherMethod · 0.95
encryptMethod · 0.95
decryptMethod · 0.95
useMethod · 0.95
useMethod · 0.95
encryptMethod · 0.95
decryptMethod · 0.95
encryptMethod · 0.95
decryptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected