Class WindowsEntropyApi

java.lang.Object
jadex.ipc.impl.security.WindowsEntropyApi

public class WindowsEntropyApi extends Object
Access to windows cryptographically secure entropy.
  • Field Details

  • Constructor Details

    • WindowsEntropyApi

      public WindowsEntropyApi()
  • Method Details

    • getEntropy

      public static byte[] getEntropy(int numbytes)
      Gets random numbers from Windows API.
      Parameters:
      numBytes - Number of bytes requested.
      Returns:
      Random data, null on failure.