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

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

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

Returns

JsMultiSignature

Defined in

ontropy_crypto.d.ts:124


sumSigs

â–¸ Static sumSigs(js_signatures): any

Parameters

Returns

any

Defined in

ontropy_crypto.d.ts:134


verify

â–¸ Static verify(signature_json, msg, final_public_nonce_json, public_key_json): boolean

Parameters

Returns

boolean

Defined in

ontropy_crypto.d.ts:147

Last updated