EthereumPrivateKeyDecryptionProvider
Decrypt using a private key outside of a wallet
import { EthereumPrivateKeyDecryptionProvider } from "@requestnetwork/epk-decryption";
Name | Type | Required? | Description |
---|---|---|---|
decryptionParameters | Decryption method and private key |
Name | Type | Required? | Description |
---|---|---|---|
method | Decryption method | ||
key | string | Private key |
Name | Value | Text |
---|---|---|
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 modified 1mo ago