Skip to main content
Module

x/tgcrypto/mod.ts>ige256Decrypt

Wasm port of pyrogram/tgcrypto
Latest
function ige256Decrypt
import { ige256Decrypt } from "https://deno.land/x/tgcrypto@0.4.1/mod.ts";

Performs IGE-256 decryption.

Parameters

data: Uint8Array

The encrypted data, larger than a byte, divisible by 16

key: Uint8Array

32-byte encryption key

iv: Uint8Array

32-byte initialization vector

Returns

Uint8Array