@bicycle-codes/crypto-util
    Preparing search index...

    Function importDid

    • Convert the given DID string to a public key.

      Parameters

      • did: `did:key:z${string}`
      • hashAlgorithm: HashAlg = DEFAULT_HASH_ALGORITHM
      • use: KeyUse = KeyUse.Sign

      Returns Promise<CryptoKey>