iya-sts
    Preparing search index...

    Variable yubiotpEncrypt

    yubiotpEncrypt: (key: any, plain: any) => any = yubiotpEncrypt

    Type Declaration

      • (key: any, plain: any): any
      • Encrypts one 16-byte YubiKey OTP block.

        Parameters

        • key: any

          the AES-128 key

        • plain: any

          16 bytes, or 32 hex characters

        Returns any

        the ciphertext, or null