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

x/tgcrypto/mod.ts>ctr256Decrypt

WASM port of pyrogram/tgcrypto
Go to Latest
function ctr256Decrypt
import { ctr256Decrypt } from "https://deno.land/x/tgcrypto@0.1.3/mod.ts";

Alias of ctr256Encrypt

Parameters

data: Uint8Array
key: Uint8Array
iv: Uint8Array
state: Uint8Array

Returns

[Uint8Array, Uint8Array, Uint8Array]