Scheme

sealed class Scheme

Drand cryptographic schemes. Each scheme specifies how beacons are signed and verified.

Inheritors

Types

Link copied to clipboard

Unchained Pedersen scheme

Link copied to clipboard

Original chained scheme (2018-present)

Link copied to clipboard

Unchained Pedersen scheme

Link copied to clipboard
data object BN254G1Unchained : Scheme

EVM-optimized scheme

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
abstract val hashToCurve: HashToCurve
Link copied to clipboard
abstract val id: String

Functions

Link copied to clipboard
abstract 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.