Skip to main content

Crate pow_captcha_core

Crate pow_captcha_core 

Source

Structs§

Challenge
Represents a PoW challenge (the “puzzle”). This is sent to the client.
Solution
Represents the solution to a PoW challenge, provided by the client.

Enums§

HashAlgorithm

Functions§

generate_challenge
Generates a new PoW challenge to be sent to the client.
solve_challenge
Solves a given PoW challenge. This function is computationally intensive and is intended to be run on the client side.
verify_solution
Verifies a solution provided by a client.