Home Reference Source
import {ECKCDSA} from 'packages/crypto/src/ec-kcdsa.ts'
public class | source

ECKCDSA

Static Method Summary

Static Public Methods
public static

clamp(k: undefined): *

public static

keygen(k: undefined): {"p": *, "s": *, "k": *}

public static

sharedkey(privateKey: undefined, publicKey: undefined): *

public static
public static

Static Public Methods

public static clamp(k: undefined): * source

Params:

NameTypeAttributeDescription
k undefined

Return:

*

public static keygen(k: undefined): {"p": *, "s": *, "k": *} source

Params:

NameTypeAttributeDescription
k undefined

Return:

{"p": *, "s": *, "k": *}

public static sharedkey(privateKey: undefined, publicKey: undefined): * source

Params:

NameTypeAttributeDescription
privateKey undefined
publicKey undefined

Return:

*

public static sign(h: undefined, x: undefined, s: undefined): * source

Params:

NameTypeAttributeDescription
h undefined
x undefined
s undefined

Return:

*

public static verify(v: undefined, h: undefined, P: undefined): * source

Params:

NameTypeAttributeDescription
v undefined
h undefined
P undefined

Return:

*