Skip to main content

Crate aster_forge_crypto

Crate aster_forge_crypto 

Source
Expand description

Shared cryptographic helpers for Aster services.

The crate currently exposes password hashing and digest utilities that were duplicated across application code. It keeps the error surface narrow so services can map cryptographic failures into their own API or domain errors without depending on implementation-specific error types.

Re-exports§

pub use hash::bytes_to_hex;
pub use hash::hash_password;
pub use hash::new_sha256;
pub use hash::sha256_digest_to_hex;
pub use hash::sha256_hex;
pub use hash::verify_password;

Modules§

hash
Password hashing and digest helpers.

Enums§

CryptoError
Errors produced by cryptographic helper functions.

Type Aliases§

Result
Result type returned by aster_forge_crypto helpers.