pub fn random_secret_hex(byte_count: usize) -> Result<String, i32>Expand description
Generates a cryptographically random secret encoded as lowercase hexadecimal text.
§Parameters
byte_count: Input consumed bycrate::runtime::dynamic::random_secret_hex.
§Returns
Returns the successful value produced by crate::runtime::dynamic::random_secret_hex or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::dynamic::random_secret_hex cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::random_secret_hex(todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.