CustomCrypto
Properties
ecdsaRecover()?
optionalecdsaRecover: (sig,recId,hash) =>Uint8Array
Parameters
• sig: Uint8Array
• recId: number
• hash: Uint8Array
Returns
Uint8Array
Source
node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/types.d.ts:73
ecdsaSign()?
optionalecdsaSign: (msg,pk) =>object
Parameters
• msg: Uint8Array
• pk: Uint8Array
Returns
object
recid
recid:
number
signature
signature:
Uint8Array
Source
node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/types.d.ts:69
ecrecover()?
optionalecrecover: (msgHash,v,r,s,chainId?) =>Uint8Array
Parameters
• msgHash: Uint8Array
• v: bigint
• r: Uint8Array
• s: Uint8Array
• chainId?: bigint
Returns
Uint8Array
Source
node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/types.d.ts:66
ecsign()?
optionalecsign: (msg,pk,chainId?) =>ECDSASignature
Parameters
• msg: Uint8Array
• pk: Uint8Array
• chainId?: bigint
Returns
ECDSASignature
Source
node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/types.d.ts:68
keccak256()?
optionalkeccak256: (msg) =>Uint8Array
Interface for providing custom cryptographic primitives in place of ethereum-cryptography variants
Parameters
• msg: Uint8Array
Returns
Uint8Array
Source
node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/types.d.ts:65
kzg?
optionalkzg:Kzg
Source
node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/types.d.ts:74
sha256()?
optionalsha256: (msg) =>Uint8Array
Parameters
• msg: Uint8Array
Returns
Uint8Array
Source
node_modules/.pnpm/@ethereumjs+common@4.3.0/node_modules/@ethereumjs/common/dist/esm/types.d.ts:67