UNPKG

@opendatalabs/vana-sdk

Version:

A TypeScript library for interacting with Vana Network smart contracts.

39 lines (38 loc) 941 B
/** * Test vectors generated from eccrypto for compatibility verification * Generated on: 2025-08-17T15:03:45.067Z * eccrypto version: 1.1.6 * * These vectors ensure our ECIES implementation is compatible with eccrypto */ export declare const eccryptoTestVectors: ({ name: string; privateKey: string; publicKey: string; message: string; encrypted: { iv: string; ephemPublicKey: string; ciphertext: string; mac: string; }; messageText?: undefined; } | { name: string; privateKey: string; publicKey: string; message: string; messageText: string; encrypted: { iv: string; ephemPublicKey: string; ciphertext: string; mac: string; }; })[]; export declare const eccryptoFormat: { ivLength: number; ephemPublicKeyLength: number; macLength: number; getFormatLength: (ciphertextLength: number) => number; };