Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dryptography/aes/mod.ts>IGE

Deno port of https://github.com/spalt08/cryptography
Latest
class IGE
import { IGE } from "https://deno.land/x/dryptography@v0.1.4/aes/mod.ts";

AES-IGE mode.

Constructors

new
IGE(
key: string | Uint32Array | Uint8Array,
counter: string | Uint32Array | Uint8Array,
blockSize?,
)

Properties

blockSize: number
cipher: AES
counter: Uint32Array
key: Uint32Array
offset: number

Methods

decrypt(message: string | Uint32Array | Uint8Array, buf?: Uint32Array)

Decrypts cipher text with AES-IGE mode.

encrypt(message: string | Uint32Array | Uint8Array, buf?: Uint32Array)

Encrypts plain text with AES-IGE mode.