tuweni / org.apache.tuweni.crypto.mikuli

Package org.apache.tuweni.crypto.mikuli

Types

BLS12381

class BLS12381

This Boneh-Lynn-Shacham (BLS) signature implementation is constructed from a pairing friendly elliptic curve, the BLS12-381 curve. It uses parameters as defined in https://z.cash/blog/new-snark-curve and the points in groups G1 and G2 are defined https://github.com/zkcrypto/pairing/blob/master/src/bls12_381/README.md

This class depends upon the Apache Milagro library being available. See https://milagro.apache.org.

Apache Milagro can be included using the gradle dependency 'org.miracl.milagro.amcl:milagro-crypto-java'.

KeyPair

class KeyPair

KeyPair represents a public and private key.

PublicKey

class PublicKey

This class represents a BLS12-381 public key.

SecretKey

class SecretKey

This class represents a BLS12-381 private key.

Signature

class Signature

This class represents a Signature on G2

SignatureAndPublicKey

class SignatureAndPublicKey

This class represents a signature and a public key