Interface Helpers.Lazy

    • Method Detail

      • sodiumBin2Hex

        java.lang.String sodiumBin2Hex​(byte[] bin)
        Binary to hexadecimal. This method does not null terminate strings.
        Parameters:
        bin - The binary bytes you want to convert to a string.
        Returns:
        A hexadecimal string solely made up of the characters 0123456789ABCDEF.
      • sodiumHex2Bin

        byte[] sodiumHex2Bin​(java.lang.String hex)
        Hexadecimal to binary. Does not null terminate the binary array.
        Parameters:
        hex - Hexadecimal string (a string that's made up of the characters 0123456789ABCDEF) to convert to a binary array.
        Returns:
        Binary byte array.