public final class DefaultRandomFunction extends Object implements RandomFunction
The current implementation uses a pool SecureRandom.
The pool size is equal to the number of processors available, up to a maximum of 16.
The PRNG algorithm can be specified by system property or environment
variable. See RandomUtil.newSecureRandom().
public byte[] apply(int length)
apply 在接口中 java.util.function.IntFunction<byte[]>Copyright © 2024. All rights reserved.