Module precompiles

Expand description

Precompiles Added for the Seismic Chain

This module provides several precompiles enabled by the Seismic Chain features. Below is an overview of the available precompiles and their functionalities:

§Modules

  • aes: Provides AES-GCM encryption and decryption functionalities.
  • ecdh_derive_sym_key: Implements symmetric key derivation using Elliptic Curve Diffie-Hellman (ECDH) with the secp256k1 curve, producing an AES-compatible key.
  • hkdf_derive_sym_key: Implements key derivation using the HKDF (HMAC-based Key Derivation Function) algorithm to derive AES-compatible symmetric keys from raw input bytes.
  • rng: Generates cryptographically secure random bytes. The randomness is based on a secret Verifiable Random Function (VRF) key and the block’s transcript.

Modules§

aes
ecdh_derive_sym_key
hkdf_derive_sym_key
rng
secp256k1_sign

Constants§

AES_GCM_DEC_ADDRESS
AES_GCM_ENC_ADDRESS
ECDH_ADDRESS
HDKF_ADDRESS
RNG_ADDRESS
SECP256K1_SIGN_ADDRESS