scalus.uplc.builtin.bls12_381.G2Element
See theG2Element companion class
object G2Element
Attributes
Members list
Value members
Concrete methods
Uncompresses a 96-byte compressed G2 point; fails if it is not a point in G2.
Uncompresses a 96-byte compressed G2 point; fails if it is not a point in G2.
Attributes
Inherited methods
The generator element in G2.
The generator element in G2.
Works on and offchain.
Attributes
- Note
-
TODO: change to lazy val when lazy vals are implemented in the compiler
- Inherited from:
- G2ElementOffchainApi (hidden)
Extensions
Inherited extensions
extension (sc: StringContext)
G2 element string interpolator
G2 element string interpolator
Works on and offchain. Converts a compressed hex bytestring (96 bytes) to a G2 element.
Attributes
- Note
-
This method is specially treated by the Scalus compiler plugin.
- Inherited from:
- G2ElementOffchainApi (hidden)
In this article