object SecP256K1 extends SecP256K1CurveCommon with SignatureSchema[SecP256K1PrivateKey, SecP256K1PublicKey, SecP256K1Signature]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SecP256K1
  2. SignatureSchema
  3. SecP256K1CurveCommon
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def canonicalize(s: BigInteger): BigInteger
    Annotations
    @inline()
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. val curve: SecP256K1Curve
    Definition Classes
    SecP256K1CurveCommon
    Annotations
    @SuppressWarnings()
  8. val domain: ECDomainParameters
    Definition Classes
    SecP256K1CurveCommon
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def ethEcRecover(messageHash: ByteString, sigBytes: ByteString): Option[ByteString]

    Recover and return the eth address that generated the signature.

    Recover and return the eth address that generated the signature. The code is adapted from ETH Besu client.

    messageHash

    hash of the data that was signed

    sigBytes

    65 bytes for (r 32Bytes, s 32Bytes, v 1Byte)

  12. def generatePriPub(): (SecP256K1PrivateKey, SecP256K1PublicKey)
    Definition Classes
    SecP256K1 → SignatureSchema
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. val halfCurveOrder: BigInteger
    Definition Classes
    SecP256K1CurveCommon
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. val params: X9ECParameters
    Definition Classes
    SecP256K1CurveCommon
  21. def point(bytes: ByteString): ECPoint
  22. def secureGeneratePriPub(): (SecP256K1PrivateKey, SecP256K1PublicKey)
    Definition Classes
    SecP256K1 → SignatureSchema
  23. def sign(message: Array[Byte], privateKey: Array[Byte]): SecP256K1Signature
    Definition Classes
    SecP256K1 → SignatureSchema
  24. def sign(message: AVector[Byte], privateKey: SecP256K1PrivateKey): SecP256K1Signature
    Definition Classes
    SignatureSchema
  25. def sign(bytes: RandomBytes, privateKey: SecP256K1PrivateKey): SecP256K1Signature
    Definition Classes
    SignatureSchema
  26. def sign(message: ByteString, privateKey: SecP256K1PrivateKey): SecP256K1Signature
    Definition Classes
    SignatureSchema
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def verify(message: Array[Byte], signature: Array[Byte], publicKey: Array[Byte]): Boolean
    Definition Classes
    SecP256K1 → SignatureSchema
  30. def verify(message: AVector[Byte], signature: SecP256K1Signature, publicKey: SecP256K1PublicKey): Boolean
    Definition Classes
    SignatureSchema
  31. def verify(message: ByteString, signature: SecP256K1Signature, publicKey: SecP256K1PublicKey): Boolean
    Definition Classes
    SignatureSchema
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from SecP256K1CurveCommon

Inherited from AnyRef

Inherited from Any

Ungrouped