object CryptoBytesUtil extends CryptoBytesUtil

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CryptoBytesUtil
  2. CryptoBytesUtil
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def addPadding(paddingNeeded: Int, hex: String): String

    Adds the amount padding bytes needed to fix the size of the hex string for instance, ints are required to be 4 bytes.

    Adds the amount padding bytes needed to fix the size of the hex string for instance, ints are required to be 4 bytes. If the number is just 1 it will only take 1 byte. We need to pad the byte with an extra 3 bytes so the result is 00000001 instead of just 1.

    Definition Classes
    CryptoBytesUtil
    Annotations
    @inline()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bitVectorToBytes(bits: BitVector): ByteVector

    Converts a sequence of bit vectors to a sequence of bytes

    Converts a sequence of bit vectors to a sequence of bytes

    Definition Classes
    CryptoBytesUtil
  7. def byteToBitVector(byte: Byte): BitVector

    Converts a byte to a bit vector representing that byte

    Converts a byte to a bit vector representing that byte

    Definition Classes
    CryptoBytesUtil
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def decodeHex(hex: String): ByteVector
    Definition Classes
    CryptoBytesUtil
  10. def encodeHex(bigInt: BigInt): String
    Definition Classes
    CryptoBytesUtil
  11. def encodeHex(short: Short): String
    Definition Classes
    CryptoBytesUtil
  12. def encodeHex(int: Int): String
    Definition Classes
    CryptoBytesUtil
  13. def encodeHex(long: Long): String

    Encodes a long number to a hex string, pads it with an extra '0' char if the hex string is an odd amount of characters.

    Encodes a long number to a hex string, pads it with an extra '0' char if the hex string is an odd amount of characters.

    Definition Classes
    CryptoBytesUtil
  14. def encodeHex(byte: Byte): String
    Definition Classes
    CryptoBytesUtil
  15. def encodeHex(bytes: ByteVector): String
    Definition Classes
    CryptoBytesUtil
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. def flipEndianness(bytes: ByteVector): String

    Flips the endianness of the given sequence of bytes.

    Flips the endianness of the given sequence of bytes.

    Definition Classes
    CryptoBytesUtil
  20. def flipEndianness(hex: String): String

    Flips the endianness of the give hex string.

    Flips the endianness of the give hex string.

    Definition Classes
    CryptoBytesUtil
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hexToByte(hex: String): Byte

    Converts a two character hex string to its byte representation.

    Converts a two character hex string to its byte representation.

    Definition Classes
    CryptoBytesUtil
  24. def isBitSet(byte: Byte, index: Int): Boolean

    Checks if the bit at the given index is set

    Checks if the bit at the given index is set

    Definition Classes
    CryptoBytesUtil
  25. def isHex(str: String): Boolean

    Tests if a given string is a hexadecimal string.

    Tests if a given string is a hexadecimal string.

    Definition Classes
    CryptoBytesUtil
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. final def toByteVector[T <: NetworkElement](h: Seq[T]): ByteVector
    Definition Classes
    CryptoBytesUtil
    Annotations
    @inline()
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from CryptoBytesUtil

Inherited from AnyRef

Inherited from Any

Ungrouped