bitcoinjs-lib / initEccLib
Function: initEccLib()
initEccLib(
eccLib,opts?):void
Defined in: ts_src/ecc_lib.ts:14
Initializes the ECC library with the provided instance. If eccLib is undefined, the library will be cleared. If eccLib is a new instance, it will be verified before setting it as the active library.
Parameters
eccLib
TinySecp256k1Interface | undefined
The instance of the ECC library to initialize.
opts?
Extra initialization options. Use {DANGER_DO_NOT_VERIFY_ECCLIB:true} if ecc verification should not be executed. Not recommended!
DANGER_DO_NOT_VERIFY_ECCLIB
boolean
Returns
void