Skip to main content

csrf_generate_random_hex

Function csrf_generate_random_hex 

Source
pub fn csrf_generate_random_hex(byte_count: usize) -> String
Expand description

Generates a cryptographically sourced hexadecimal token, failing closed on entropy errors.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::dynamic::csrf_generate_random_hex.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::csrf_generate_random_hex(todo!());