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
named net/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtil
intermediary net/minecraft/class_3515$class_7426
official axw$c
  • Field Details

    • SECURE_RANDOM

      private static final SecureRandom SECURE_RANDOM
      Mappings:
      Namespace Name Mixin selector
      named SECURE_RANDOM Lnet/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtil;SECURE_RANDOM:Ljava/security/SecureRandom;
      intermediary field_39041 Lnet/minecraft/class_3515$class_7426;field_39041:Ljava/security/SecureRandom;
      official a Laxw$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 nextLong Lnet/minecraft/network/encryption/NetworkEncryptionUtils$SecureRandomUtil;nextLong()J
      intermediary method_43531 Lnet/minecraft/class_3515$class_7426;method_43531()J
      official a Laxw$c;a()J