• Preparing search index...
  • The search index is not available
@libp2p/crypto - v1.0.17
  • @libp2p/crypto - v1.0.17
  • hmac
  • create

Function create

  • create(hash: "SHA1" | "SHA256" | "SHA512", secret: Uint8Array): Promise<HMAC>
  • Parameters

    • hash: "SHA1" | "SHA256" | "SHA512"
    • secret: Uint8Array

    Returns Promise<HMAC>

    • Defined in hmac/index.ts:9

Settings

Member Visibility

Theme

Modules

  • @libp2p/crypto - v1.0.17
    • aes
    • hmac
    • index
    • keys
      • <internal>
        • "/home/runner/work/js-libp2p-crypto/js-libp2p-crypto/src/keys/ed25519-class"
        • "/home/runner/work/js-libp2p-crypto/js-libp2p-crypto/src/keys/rsa-class"
        • "/home/runner/work/js-libp2p-crypto/js-libp2p-crypto/src/keys/secp256k1-class"
      • keysPBM
        • KeyType
        • PrivateKey
        • PublicKey
  • HMAC
  • create