BN254G1Unchained

data object BN254G1Unchained : Scheme

EVM-optimized scheme

  • Curve: BN254 (alt_bn128)

  • Groups: G2 keys (128 bytes), G1 signatures (64 bytes)

  • Digest: Keccak256(round) ← Different hash!

  • Compatible with timelock encryption

  • Optimized for Ethereum smart contracts

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val id: String

Functions

Link copied to clipboard
open override fun verifyBLSSignature(publicKey: ByteArray, message: ByteArray, signature: ByteArray): Result<Boolean>

Verifies a BLS signature for this scheme. Each scheme knows which platform verification function to call.