Uses of Class
cloud.opencode.base.crypto.password.Argon2Hash.Builder
Packages that use Argon2Hash.Builder
-
Uses of Argon2Hash.Builder in cloud.opencode.base.crypto.password
Methods in cloud.opencode.base.crypto.password that return Argon2Hash.BuilderModifier and TypeMethodDescriptionstatic Argon2Hash.BuilderArgon2Hash.builder()Create a builder for custom Argon2 configuration 创建用于自定义 Argon2 配置的构建器Argon2Hash.Builder.hashLength(int hashLength) Set the hash output length in bytes 设置哈希输出长度(字节)Argon2Hash.Builder.iterations(int iterations) Set the number of iterations (time cost) 设置迭代次数(时间成本)Argon2Hash.Builder.memory(int memory) Set the memory cost in kilobytes 设置内存成本(千字节)Argon2Hash.Builder.parallelism(int parallelism) Set the parallelism factor (number of threads) 设置并行因子(线程数)Argon2Hash.Builder.saltLength(int saltLength) Set the salt length in bytes 设置盐值长度(字节)Argon2Hash.Builder.secureRandom(SecureRandom secureRandom) Set the SecureRandom instance for salt generation 设置用于盐值生成的 SecureRandom 实例Argon2Hash.Builder.type(Argon2Type type) Set the Argon2 variant type 设置 Argon2 变体类型