Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.61 KB

File metadata and controls

25 lines (14 loc) · 1.61 KB

EthereumPrivateKeyDecryptionProvider

Description

Decrypt using a private key outside of a wallet

Usage

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

Constructor Parameters

NameTypeRequired?Description
decryptionParametersIDecryptionParameterstrueDecryption method and private key

Types and Interfaces

IDecryptionParameters

NameTypeRequired?Description
methodTypes.Decryption.METHODtrueDecryption method
keystringtruePrivate key

Types.Decryption.METHOD

NameValue
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.