Skip to content

rlpx::auth::EciesCipher

#include <ecies_cipher.hpp>

Public Functions

Name
EciesCipher() =delete
AuthResult< ByteBuffer > encrypt(const EciesEncryptParams & params)
AuthResult< ByteBuffer > decrypt(const EciesDecryptParams & params)
size_t estimate_encrypted_size(size_t plaintext_size)

Public Functions Documentation

function EciesCipher

EciesCipher() =delete

function encrypt

static AuthResult< ByteBuffer > encrypt(
    const EciesEncryptParams & params
)

function decrypt

static AuthResult< ByteBuffer > decrypt(
    const EciesDecryptParams & params
)

function estimate_encrypted_size

static size_t estimate_encrypted_size(
    size_t plaintext_size
)

Updated on 2026-04-13 at 23:22:46 -0700