h1z1-server
    Preparing search index...

    Function decrypt

    • Decrypts the encrypted text using the provided key and initialization vector (IV).

      Parameters

      • text: { encryptedData: string; iv: string }

        The encrypted data and IV.

      • key: string

        The decryption key.

      Returns string

      The decrypted text.