Package 

Interface Helpers.Lazy

    • Method Summary

      Modifier and Type Method Description
      abstract String sodiumBin2Hex(Array<byte> bin) Binary to hexadecimal.
      abstract Array<byte> sodiumHex2Bin(String hex) Hexadecimal to binary.
      • Methods inherited from class java.lang.Object

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

      • sodiumBin2Hex

         abstract String sodiumBin2Hex(Array<byte> bin)

        Binary to hexadecimal. This method does not null terminate strings.

        Parameters:
        bin - The binary bytes you want to convert to a string.
      • sodiumHex2Bin

         abstract Array<byte> sodiumHex2Bin(String hex)

        Hexadecimal to binary. Does not null terminate the binaryarray.

        Parameters:
        hex - Hexadecimal string (a string that'smade up of the characters 0123456789ABCDEF)to convert to a binary array.