iya-sts
    Preparing search index...

    Variable encryptWithDek

    encryptWithDek: (dekId: any, key: any, plaintext: any, label: any) => string = encryptWithDek

    Type Declaration

      • (dekId: any, key: any, plaintext: any, label: any): string
      • Encrypts a value under a data encryption key: AES-256-GCM, as $aesgcm$2$<dek id>$<iv>$<tag>$<ciphertext>, and counted.

        Parameters

        • dekId: any

          the DEK's id, which the envelope names

        • key: any

          the DEK, 32 bytes

        • plaintext: any

          the value

        • label: any

          what it is, for the accounting

        Returns string

        the stored form