EthereumPrivateKeyDecryptionProvider

Description

Decrypt using a private key outside of a wallet

Usage

import { EthereumPrivateKeyDecryptionProvider } from "@requestnetwork/epk-decryption";

Constructor Parameters

Name
Type
Required?
Description

decryptionParameters

Decryption method and private key

Types and Interfaces

IDecryptionParameters

Name
Type
Required?
Description

method

Decryption method

key

string

Private key

Types.Decryption.METHOD

Name
Value

ECIES

'ecies'

Elliptic Curve Integrated Encryption Scheme (ECIES). An asymmetric key cipher.

AES256_CBC

'aes256-cbc'

Advanced Encryption Standard (AES). A symmetric key cipher with keys of length 256 in CBC mode.

AES256_GCM

'aes256-gcm'

Advanced Encryption Standard (AES). A symmetric key cipher with keys of length 256 in GCM mode.

Last updated