Class WorkProofUtil


  • public class WorkProofUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkProofUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean checkProofOfWorkHashList​(java.lang.String salt, java.lang.String suffix, int[] passwords, int max_hash_val)  
      static int[] generateProofOfWorkPool​(java.lang.String salt, java.lang.String suffix, int max_hash_val, int poolSize, long timeout)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkProofUtil

        public WorkProofUtil()
    • Method Detail

      • generateProofOfWorkPool

        public static int[] generateProofOfWorkPool​(java.lang.String salt,
                                                    java.lang.String suffix,
                                                    int max_hash_val,
                                                    int poolSize,
                                                    long timeout)
      • checkProofOfWorkHashList

        public static boolean checkProofOfWorkHashList​(java.lang.String salt,
                                                       java.lang.String suffix,
                                                       int[] passwords,
                                                       int max_hash_val)