package bls12-381

  1. Overview
  2. Docs

Augmentation scheme described in section 3.2

In a message augmentation scheme, signatures are generated over the concatenation of the public key and the message, ensuring that messages signed by different public keys are distinct.

val sign : sk -> Bytes.t -> signature
val verify : pk -> Bytes.t -> signature -> bool
val aggregate_verify : (pk * Bytes.t) list -> signature -> bool