Package com.bradyrussell.uiscoin
Class Hash
java.lang.Object
com.bradyrussell.uiscoin.Hash
public class Hash
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Hash()
-
Method Summary
Modifier and Type Method Description static int
getHashDifficulty(byte[] Hash)
static byte[]
getSHA512Bytes(byte[] Input)
static byte[]
getSHA512Bytes(java.lang.String Input)
static java.lang.String
getSHA512String(byte[] Input)
static java.lang.String
getSHA512String(java.lang.String Input)
static boolean
validateHash(byte[] Hash, int Difficulty)
-
Constructor Details
-
Hash
public Hash()
-
-
Method Details
-
getSHA512String
public static java.lang.String getSHA512String(java.lang.String Input) -
getSHA512Bytes
public static byte[] getSHA512Bytes(byte[] Input) -
getSHA512String
public static java.lang.String getSHA512String(byte[] Input) -
getSHA512Bytes
public static byte[] getSHA512Bytes(java.lang.String Input) -
validateHash
public static boolean validateHash(byte[] Hash, int Difficulty) -
getHashDifficulty
public static int getHashDifficulty(byte[] Hash)
-