Skip to content

7. Add lib/utils/crypto.ts hashing utilities #366

Description

@DeFiVC

What: Add cryptographic utilities for hashing, signing, and verification.

Why: Some operations need client-side hashing (e.g., request signing, data integrity). A utility module centralizes these.

Scope: Add functions for: sha256, hmacSign, verifySignature. Use Web Crypto API.

Acceptance criteria:

  • Hashing works correctly
  • Signing works
  • Verification works
  • Web Crypto API is used

Technical context: src/lib/utils/crypto.ts — crypto utils. src/lib/stellar/wallet.ts — signing.


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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