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 named net/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtilintermediary net/minecraft/class_3515$class_7426official axl$c
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longnextLong()Returns a random number generated with a cryptographically secure random number generator.
-
Field Details
-
SECURE_RANDOM
- Mappings:
Namespace Name Mixin selector named SECURE_RANDOMLnet/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtil;SECURE_RANDOM:Ljava/security/SecureRandom;intermediary field_39041Lnet/minecraft/class_3515$class_7426;field_39041:Ljava/security/SecureRandom;official aLaxl$c;a: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 named nextLongLnet/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtil;nextLong()Jintermediary method_43531Lnet/minecraft/class_3515$class_7426;method_43531()Jofficial aLaxl$c;a()J
-