Class HexUtil


  • public class HexUtil
    extends Object
    • Method Detail

      • convertToBytes

        public static byte[] convertToBytes​(String hash)
        Converts the hash string to bytes or empty array if decoding error occurs
        Parameters:
        hash - String representation of a hash
        Returns:
        decoded hash