scalus.prelude.crypto.bls12_381

Members list

Type members

Classlikes

object G1

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
G1.type
object G2

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
G2.type
case class Scalar

This is an opaque wrapper around BigInt that represents an element (integer) in the scalar field of BLS12-381 curve. Use it when you need modular arithmetics over it.

This is an opaque wrapper around BigInt that represents an element (integer) in the scalar field of BLS12-381 curve. Use it when you need modular arithmetics over it.

See ScalarTest for examples.

Value parameters

unScalar

underlying BigInt representation

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Scalar

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Scalar.type