OntropyCryptoProvider

Constructors

Methods

constructor

new OntropyCryptoProvider()

free

free(): void

Returns

void

Defined in

ontropy_crypto.d.ts:107


combinePublicKeys

Static combinePublicKeys(js_public_keys): any

Parameters

NameType

js_public_keys

any[]

Returns

any

Defined in

ontropy_crypto.d.ts:129


generateKeyPair

Static generateKeyPair(): JsKeyPair

Returns

JsKeyPair

Defined in

ontropy_crypto.d.ts:111


generateNonces

Static generateNonces(): JsNonces

Returns

JsNonces

Defined in

ontropy_crypto.d.ts:115


keccak256

Static keccak256(input): any

Parameters

NameType

input

string

Returns

any

Defined in

ontropy_crypto.d.ts:139


multiSigSign

Static multiSigSign(js_private_key, js_my_nonces, js_msg, js_public_keys, js_public_nonces): JsMultiSignature

Parameters

NameType

js_private_key

js_my_nonces

js_msg

string

js_public_keys

any[]

js_public_nonces

any[]

Returns

JsMultiSignature

Defined in

ontropy_crypto.d.ts:124


sumSigs

Static sumSigs(js_signatures): any

Parameters

NameType

js_signatures

any[]

Returns

any

Defined in

ontropy_crypto.d.ts:134


verify

Static verify(signature_json, msg, final_public_nonce_json, public_key_json): boolean

Parameters

NameType

signature_json

any

msg

any

final_public_nonce_json

any

public_key_json

any

Returns

boolean

Defined in

ontropy_crypto.d.ts:147

Last updated