Class UnixEntropyApi

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

public class UnixEntropyApi extends Object
Access to cryptographically secure entropy on some UNIX systems (BSD, Linux).
  • Constructor Details

    • UnixEntropyApi

      public UnixEntropyApi()
  • Method Details

    • getEntropy

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