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
Name | Type |
---|---|
|
|
Returns
any
Defined in
ontropy_crypto.d.ts:129
generateKeyPair
▸ Static
generateKeyPair(): JsKeyPair
Returns
Defined in
ontropy_crypto.d.ts:111
generateNonces
▸ Static
generateNonces(): JsNonces
Returns
Defined in
ontropy_crypto.d.ts:115
keccak256
▸ Static
keccak256(input
): any
Parameters
Name | Type |
---|---|
|
|
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
Name | Type |
---|---|
| |
| |
|
|
|
|
|
|
Returns
Defined in
ontropy_crypto.d.ts:124
sumSigs
▸ Static
sumSigs(js_signatures
): any
Parameters
Name | Type |
---|---|
|
|
Returns
any
Defined in
ontropy_crypto.d.ts:134
verify
▸ Static
verify(signature_json
, msg
, final_public_nonce_json
, public_key_json
): boolean
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
Returns
boolean
Defined in
ontropy_crypto.d.ts:147
Last updated