fromHex static method
Implementation
static K4SecretKey fromHex(String hex) {
final bytes = _hexToBytes(hex);
if (bytes.length != keyLength) {
throw ArgumentError(
'K4SecretKey must be exactly $keyLength bytes (32-byte seed + 32-byte public key)');
}
return K4SecretKey(bytes);
}