Hierarchy

  • LitResourceBase
    • LitAccessControlConditionResource

Implements

Constructors

Properties

resource: string
resourcePrefix: AccessControlCondition = LitResourcePrefix.AccessControlCondition

Methods

  • Composes a resource string by hashing access control conditions and appending a data hash.

    Returns

    The composed resource string in the format 'hashedAccs/dataToEncryptHash'.

    Parameters

    • accs: AccessControlConditions

      The access control conditions to hash.

    • dataToEncryptHash: string

      The hash of the data to encrypt.

    Returns Promise<string>

Generated using TypeDoc