Package-level declarations

Functions

Link copied to clipboard
fun ByteArray.hash(gm: Boolean = true): ByteArray
fun HexString.hash(gm: Boolean = true): ByteArray
Link copied to clipboard
fun HexString.hexToBigInteger(): BigInteger
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

remove leading zeros from the byte array

Link copied to clipboard

The sign is represented as an integer signum value: -1 for negative, 0 for zero, or 1 for positive.

fun ByteArray.toBigInteger(offset: Int, length: Int): BigInteger
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ByteArray.toFixedLengthByteArray(fixedSize: Int, fillByte: Byte = 0): ByteArray
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun BigInteger.toHexStringZeroPadded(size: Int, withPrefix: Boolean = true): String
Link copied to clipboard