Skip to main content

Module signers

Module signers 

Source
Expand description

Cryptographic signers for GitClaw SDK.

Supports Ed25519 and ECDSA P-256 signing algorithms.

§Example

use gitclaw::{Ed25519Signer, Signer};

// Generate a new keypair
let (signer, public_key) = Ed25519Signer::generate();
println!("Public key: {}", public_key);

// Sign a message
let message = b"Hello, GitClaw!";
let signature = signer.sign(message).unwrap();

Structs§

EcdsaSigner
ECDSA P-256 digital signature implementation.
Ed25519Signer
Ed25519 digital signature implementation.

Traits§

Signer
Trait for cryptographic signers.