Crate aranya_keygen

Crate aranya_keygen 

Source
Expand description

§Aranya Keygen

Utilities for generating and managing cryptographic key bundles for Aranya applications.

This crate provides functionality to:

  • Generate secure cryptographic key bundles containing identity, encryption, and signing keys
  • Store generated keys in a keystore
  • Retrieve public keys from a key bundle

§Key Components

  • KeyBundle: The main structure that contains references to identity, encryption, and signing keys
  • PublicKeys: A structure that holds the public portions of the keys in a key bundle

§Example

// Generate a new key bundle
let key_bundle = KeyBundle::generate(engine, store)?;

// Load the public keys from the bundle
let public_keys = key_bundle.public_keys(engine, store)?;

// Use the public keys for operations like encryption or verification

Structs§

KeyBundle
A bundle of cryptographic keys for secure communication in Aranya.
PublicKeys
Collection of public keys derived from a KeyBundle.