Skip to content

Add generic hasher traits and KDF core for cross-platform crypto #6

@mamonet

Description

@mamonet

Add generic hasher traits and a KDF core module to enable code sharing between keetanetwork-crypto and the Ledger device application.

  • Create hash_trait.rs with Sha3_256Hasher trait
  • Create kdf_core.rs with generic HMAC-SHA3-256, HKDF, and key derivation
  • Update Cargo.toml with new feature flags structure
  • Add comprehensive tests for the generic core
  • Refactor hash.rs and kdf.rs to delegate to generic core

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions