Community ALTCHA Rust Library 
Community implementation of the ALTCHA library in Rust for your own server application to create and validate challenges and responses.
For more information about ALTCHA https://altcha.org/docs
Features
- Compatible with the ALTCHA client-side widget
- Generates and validates self-hosted challenges
- Expiring challenges option
- Supports the algorithms SHA256, SHA384, SHA512, and SHA1 (via optional feature flag)
- With v0.3, enforces delimited salt to prevent replay attacks; see https://altcha.org/security-advisory/
Not part of this library:
- Methods to call ALTCHA's spam filter API
- machine-to-machine ALTCHA
- Store previously verified challenges to prevent replay attacks
Setup
[]
= { = "0", = ["json"] } # with SHA1: ["json", "sha1"]
Example
use ;