Package-level declarations
The utils module is intentionally lightweight. Most cryptographic and encoding operations are handled by the Kotlin Standard Library, TSS Module, and Platform Libraries.
Byte array manipulation
Serialization helpers
Base64 encoding/decoding
This module currently provides minimal utility functions for:
the TSS implementations and wrapper modules. Utility functions for the SilentShard Kotlin Multiplatform library. This module provides common utilities used across
Types
A kotlinx.serialization KSerializer that represents a ByteArray as a Base64 string instead of the default array-of-bytes form.
Certifies a party's per-session protocol key with a stable identity key.
Functions
Decodes a standard Base64 string (RFC 4648) back into bytes.
Encodes the bytes as a standard Base64 string (RFC 4648).
Encodes the bytes using the URL- and filename-safe Base64 alphabet (RFC 4648 §5).
Returns the lowercase hexadecimal representation of the bytes, without separators or prefix.
Writes value as an unsigned 16-bit little-endian integer into this array, occupying offset and offset + 1 (low byte first).