Expand description
Utility functions for lib-Q
This module provides common utility functions used throughout the library.
Functionsยง
- bytes_
to_ hex - Convert bytes to hex string
- constant_
time_ compare - Constant-time comparison of two byte slices
- hex_
to_ bytes - Convert hex string to bytes
- random_
bytes - Generate cryptographically secure random bytes
- random_
key - Generate a random key of specified size
- random_
nonce - Generate a random nonce
- secure_
zeroize - Secure memory zeroization
- validate_
data_ size - Validate input data size