• Create a 32-character, DNS-friendly hash for a device. Takes either the DID string or a crypto instance.

    Parameters

    • input: `did:key:z${string}` | CryptoKeyPair

      DID string or Crypto implementation

    Returns Promise<string>

    The 32-character hash string of the DID