UNPKG

@tgsnake/core

Version:

Pure Telegram MTProto library for nodejs

8 lines (7 loc) 230 B
import { Buffer } from '../platform.node.js'; declare const PublicKey: Map<bigint, { m: bigint; e: bigint; }>; export declare function encrypt(data: Buffer, fingerprint: bigint): Buffer<ArrayBuffer>; export { PublicKey };