UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

9 lines • 708 B
export type StrictEd25519Refusal = "length" | "encoding" | "small_order" | "not_prime_order" | "scalar"; /** The strict prechecks alone, run before the native equation; `undefined` when all pass. Exported for tests. */ export declare function strictEd25519Refusal(publicKey: Uint8Array, signature: Uint8Array): StrictEd25519Refusal | undefined; /** * Verifies `signature` (64 bytes) over `message` under the raw 32-byte public key with the strict rules above. * Returns false for every refusal; the caller maps it to its own error code. */ export declare function strictEd25519Verify(publicKey: Uint8Array, message: Uint8Array, signature: Uint8Array): boolean; //# sourceMappingURL=ed25519-strict.d.ts.map