public class SecureRandoms extends Object
| 构造器和说明 |
|---|
SecureRandoms() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SecureRandom |
getNativePRNG() |
static SecureRandom |
getSecureRandom(String algorithm) |
static SecureRandom |
getSecureRandom(String algorithm,
String provider) |
static SecureRandom |
getSHA1PRNG() |
static SecureRandom |
getSHA1PRNG(String provider) |
public static SecureRandom getNativePRNG() throws NoSuchAlgorithmException, NoSuchProviderException
public static SecureRandom getSHA1PRNG() throws NoSuchAlgorithmException, NoSuchProviderException
public static SecureRandom getSHA1PRNG(String provider) throws NoSuchAlgorithmException, NoSuchProviderException
public static SecureRandom getSecureRandom(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
public static SecureRandom getSecureRandom(String algorithm, String provider) throws NoSuchAlgorithmException, NoSuchProviderException
Copyright © 2020. All rights reserved.