Class NetworkEncryptionUtils.SecureRandomUtil

java.lang.Object
net.minecraft.network.encryption.NetworkEncryptionUtils.SecureRandomUtil
Enclosing class:
NetworkEncryptionUtils

public static class NetworkEncryptionUtils.SecureRandomUtil extends Object
Utilities for working with a secure random number generator.
Mappings:
Namespace Name
official anx$c
intermediary net/minecraft/class_3515$class_7426
named net/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtil
  • Field Details

    • SECURE_RANDOM

      private static final SecureRandom SECURE_RANDOM
      Mappings:
      Namespace Name Mixin selector
      official a Lanx$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 Lanx$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