Crate altcha_lib_rs

Source
Expand description

Community implementation of the Altcha library in Rust for your own server applications to create and validate challenges and responses.

For more details about Altcha see https://altcha.org/docs

Modules§

algorithm
Algorithm options for the challenge
error
Errors

Structs§

Challenge
Challenge defines the challenge send to the client
ChallengeOptions
ChallengeOptions defines the options for creating a challenge
Payload
Payload defines the response from the client

Constants§

DEFAULT_ALGORITHM
DEFAULT_MAX_NUMBER
DEFAULT_SALT_LENGTH

Functions§

create_challenge
Creates a challenge for the client to solve.
solve_challenge
Solves a challenge by brute force. Used for testing.
verify_solution
Verifies the solution provided by the client.