26 lines
680 B
Java
26 lines
680 B
Java
|
package o;
|
||
|
|
||
|
import java.security.SecureRandom;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class YTf {
|
||
|
private static final ThreadLocal<SecureRandom> e = new ThreadLocal<SecureRandom>() { // from class: o.YTf.3
|
||
|
@Override // java.lang.ThreadLocal
|
||
|
protected final /* synthetic */ SecureRandom initialValue() {
|
||
|
return YTf.d();
|
||
|
}
|
||
|
};
|
||
|
|
||
|
public static byte[] b(int i) {
|
||
|
byte[] bArr = new byte[i];
|
||
|
e.get().nextBytes(bArr);
|
||
|
return bArr;
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ SecureRandom d() {
|
||
|
SecureRandom secureRandom = new SecureRandom();
|
||
|
secureRandom.nextLong();
|
||
|
return secureRandom;
|
||
|
}
|
||
|
}
|