Class OctoTrustSchnorrPoint
java.lang.Object
love.distributedrebirth.nx01.no2all.nostr.octo.trust.OctoTrustSchnorrPoint
Nostr octo trust schnorr point.
- Version:
- ©Δ∞ 仙上主天
- Author:
- للَّٰهِilLצسُو
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(OctoTrustSchnorrPoint point) static OctoTrustSchnorrPointadd(OctoTrustSchnorrPoint point1, OctoTrustSchnorrPoint point2) static byte[]booleanequals(OctoTrustSchnorrPoint point) static byte[]genPubKey(byte[] secKey) static OctoTrustSchnorrPointgetG()static BigIntegergetn()static BigIntegergetp()getX()static BigIntegergetX(OctoTrustSchnorrPoint point) getY()static BigIntegergetY(OctoTrustSchnorrPoint point) booleanhasEvenY()static booleanhasEvenY(OctoTrustSchnorrPoint point) booleanstatic booleanhasSquareY(OctoTrustSchnorrPoint point) static OctoTrustSchnorrPointbooleanstatic booleanisInfinite(OctoTrustSchnorrPoint point) static booleanstatic OctoTrustSchnorrPointliftX(byte[] b) mul(BigInteger n) static OctoTrustSchnorrPointmul(OctoTrustSchnorrPoint point, BigInteger n) static byte[]taggedHash(String tag, byte[] msg) byte[]toBytes()
-
Field Details
-
G
-
-
Constructor Details
-
OctoTrustSchnorrPoint
-
-
Method Details
-
getp
-
getn
-
getG
-
getX
-
getY
-
getX
-
getY
-
isInfinite
public boolean isInfinite() -
isInfinite
-
add
-
add
-
mul
-
mul
-
hasEvenY
public boolean hasEvenY() -
hasEvenY
-
isSquare
-
hasSquareY
public boolean hasSquareY() -
hasSquareY
-
taggedHash
-
genPubKey
public static byte[] genPubKey(byte[] secKey) -
toBytes
public byte[] toBytes() -
bytesFromPoint
-
liftX
-
infinityPoint
-
equals
-