Function isValidEncryptionMethodType

  • Type guard checking whether the provided input string represents one of the supported encryption verification types.

    Parameters

    • input: string

      The input string.

    Returns input is "x25519"

    Whether the input string is an instance of DidEncryptionMethodType.