Module utils

Module utils 

Source
Expand description

Utilities

Functions§

base36_encode
Base36 Encoder
create_counter
Default counter function
create_entropy
Creates entropy by length
create_fingerprint
Creates a machine-specific fingerprint
create_hash
Creates hash based on data and hash it with SHA based on feature flag you specified
create_letter
Randomly selects a letter from RandomFunctionType value
is_cuid
Checks if this is valid crate::Cuid

Type Aliases§

CounterFunctionType
Counter function type
CreateCounterFunctionType
Create counter function type
FingerPrintFunctionType
Fingerprint function type
RandomFunctionType
Random function type