PublicKey class

Class representing a EdDSA Baby Jub public key

Constructors

PublicKey(List<BigInt> p)
Create a PublicKey from a curve point p @param {ListBigInt} p - curve point

Properties

hashCode int
The hash code for this object.
no setterinherited
p List<BigInt>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compress() Uint8List
Compress the PublicKey @returns {Uint8List} - point compressed into a buffer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
verify(String messageHash, Signature signature) bool

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

newFromCompressed(BigInt compressedBigInt) PublicKey
Create a PublicKey from a bigInt compressed pubKey