Package net.minecraft.network.encryption
Class NetworkEncryptionUtils.SecureRandomUtil
java.lang.Object
net.minecraft.network.encryption.NetworkEncryptionUtils.SecureRandomUtil
- Enclosing class:
NetworkEncryptionUtils
Utilities for working with a secure random number generator.
- Mappings:
Namespace Name official aoj$c
intermediary net/minecraft/class_3515$class_7426
named net/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
nextLong()
Returns a random number generated with a cryptographically secure random number generator.
-
Field Details
-
SECURE_RANDOM
- Mappings:
Namespace Name Mixin selector official a
Laoj$c;a:Ljava/security/SecureRandom;
intermediary field_39041
Lnet/minecraft/class_3515$class_7426;field_39041:Ljava/security/SecureRandom;
named SECURE_RANDOM
Lnet/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtil;SECURE_RANDOM:Ljava/security/SecureRandom;
-
-
Constructor Details
-
SecureRandomUtil
public SecureRandomUtil()
-
-
Method Details
-
nextLong
public static long nextLong()Returns a random number generated with a cryptographically secure random number generator.- Returns:
- a random number generated with a cryptographically secure random number generator
- Mappings:
Namespace Name Mixin selector official a
Laoj$c;a()J
intermediary method_43531
Lnet/minecraft/class_3515$class_7426;method_43531()J
named nextLong
Lnet/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtil;nextLong()J
-