Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/0_deps.ts>ige256Decrypt

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
function ige256Decrypt
import { ige256Decrypt } from "https://deno.land/x/mtkruto@0.1.104/0_deps.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