Module utils

Source
Expand description

The Utility module

This is where all the utility functions are defined for the GeekORM crate. There are several utility functions that are used in the crate.

  • Cryptography
    • generate_random_string - Generate a random string
    • generate_hash - Generate a hash

Re-exports§

pub use crypto::hashing::generate_hash;
pub use crypto::hashing::verify_hash;
pub use crypto::rand::generate_random_string;
pub use tfa::TwoFactorAuth;

Modules§

crypto
This module contains functions for generating random strings
tfa
Two Factor Authentication