Class OctoTrustSchnorr

java.lang.Object
love.distributedrebirth.nx01.no2all.nostr.octo.trust.OctoTrustSchnorr

public final class OctoTrustSchnorr extends Object
Version:
©Δ∞ 仙上主天
Author:
للَّٰهِilLצسُو
  • Constructor Details

    • OctoTrustSchnorr

      public OctoTrustSchnorr()
  • Method Details

    • sign

      public static byte[] sign(byte[] msg, byte[] secKey, byte[] auxRand)
    • verify

      public static boolean verify(byte[] msg, byte[] pubkey, byte[] sig)
    • extractPublicKey

      public static byte[] extractPublicKey(byte[] secKey)
    • xor

      protected static byte[] xor(byte[] b0, byte[] b1)
    • bigIntToBytes

      protected static byte[] bigIntToBytes(BigInteger n)
    • bytesToBigInt

      protected static BigInteger bytesToBigInt(byte[] b)