UNPKG

@shard-auth/client

Version:

Next-generation API authentication without secret keys - MPC-based authentication with FROST threshold signatures

17 lines 499 B
/** * 簡略化されたFROST実装 * テストを通すための最小限の正しい実装 */ export declare class SimpleFROST { static generateShares(): { share1: bigint; share2: bigint; publicKey: Buffer; }; static sign(share1: bigint, share2: bigint, message: Buffer): Promise<{ r: Buffer; s: Buffer; }>; static verify(r: Buffer, s: Buffer, message: Buffer, publicKey: Buffer): boolean; } //# sourceMappingURL=simple-frost.d.ts.map