Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class BitLength(val bits: UInt) : Comparable<BitLength>

Utility class to represent the bit length of curves and signatures.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Drops bytes at the start, or adds zero bytes at the start, until the size is reached

inline fun ByteArray.ensureSize(size: UInt): ByteArray
Link copied to clipboard
inline fun max(a: BitLength, b: BitLength): BitLength
Link copied to clipboard
inline fun min(a: BitLength, b: BitLength): BitLength