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 - anz$c- intermediary - net/minecraft/class_3515$class_7426- named - net/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtil
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic longnextLong()Returns a random number generated with a cryptographically secure random number generator.
- 
Field Details- 
SECURE_RANDOM- Mappings:
- Namespace - Name - Mixin selector - official - a- Lanz$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- 
SecureRandomUtilpublic SecureRandomUtil()
 
- 
- 
Method Details- 
nextLongpublic 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- Lanz$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
 
 
-