Home Reference Source
public class | source

ED25519

Static Method Summary

Static Public Methods
public static

generatePrivateKey(fromSecret: *): *

public static

generatePublicKey(secretKey: *): *

public static

sign(data: *, secretKey: *): *

public static

verify(signature: *, data: *, publicKey: *): *

Static Public Methods

public static generatePrivateKey(fromSecret: *): * source

Params:

NameTypeAttributeDescription
fromSecret *

Return:

*

public static generatePublicKey(secretKey: *): * source

Params:

NameTypeAttributeDescription
secretKey *

Return:

*

public static sign(data: *, secretKey: *): * source

Params:

NameTypeAttributeDescription
data *
secretKey *

Return:

*

public static verify(signature: *, data: *, publicKey: *): * source

Params:

NameTypeAttributeDescription
signature *
data *
publicKey *

Return:

*