write skeleton of functions

This commit is contained in:
2024-05-14 10:58:00 +02:00
parent cfcb99cd69
commit 710553bfce
11 changed files with 98 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
export type PrivKey = void
export type PubKey = void
export type Signature = string
export function gen_keypair() : [PrivKey, PubKey] {
throw "todo"
}
export function sign(privkey: PrivKey, message: Uint8Array) : Signature {
throw "todo"
}
export function verify(pubkey: PubKey, message: Uint8Array, signature: Signature) : boolean {
throw "todo"
}