object ECPrivateKey extends Factory[ECPrivateKey]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ECPrivateKey
  2. Factory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def apply(isCompressed: Boolean): ECPrivateKey
  5. def apply(): ECPrivateKey

    Generates a fresh ECPrivateKey that has not been used before.

  6. def apply(bytes: ByteVector, isCompressed: Boolean)(implicit ec: ExecutionContext): ECPrivateKey
  7. def apply(hex: String): ECPrivateKey

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  8. def apply(bytes: ByteVector): ECPrivateKey

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def compressedKeyPrefixes: Seq[Some[Char]]

    The Base58 prefixes that represent compressed private keys

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def freshPrivateKey(isCompressed: Boolean): ECPrivateKey
  15. def freshPrivateKey: ECPrivateKey

    Generates a fresh ECPrivateKey that has not been used before.

  16. def fromBytes(bytes: ByteVector, isCompressed: Boolean): ECPrivateKey
    Annotations
    @tailrec()
  17. def fromBytes(bytes: ByteVector): ECPrivateKey

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    ECPrivateKeyFactory
  18. def fromHex(hex: String, isCompressed: Boolean): ECPrivateKey
  19. def fromHex(hex: String): ECPrivateKey

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  20. def fromWIFToPrivateKey(WIF: String): ECPrivateKey

    Takes in a base58 string and converts it into a private key.

    Takes in a base58 string and converts it into a private key. Private keys starting with 'K', 'L', or 'c' correspond to compressed public keys. https://en.bitcoin.it/wiki/Wallet_import_format

    WIF

    Wallet Import Format. Encoded in Base58

  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def isCompressed(WIF: String): Boolean
  24. def isCompressed(bytes: ByteVector): Boolean

    Takes in WIF private key as a sequence of bytes and determines if it corresponds to a compressed public key.

    Takes in WIF private key as a sequence of bytes and determines if it corresponds to a compressed public key. If the private key corresponds to a compressed public key, the last byte should be 0x01, and the WIF string will have started with K or L instead of 5 (or c instead of 9 on testnet).

    bytes

    private key in bytes

  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. lazy val logger: Logger
    Definition Classes
    Factory
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def parseNetworkFromWIF(wif: String): Try[NetworkParameters]

    Returns the NetworkParameters from a serialized WIF key

  31. implicit def self: Factory[ECPrivateKey]

    Allows a def foo[C: Factory]() construction.

    Allows a def foo[C: Factory]() construction.

    Definition Classes
    Factory
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. def uncompressedKeyPrefixes: Seq[Some[Char]]

    The Base58 prefixes that represent uncompressed private keys

  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from Factory[ECPrivateKey]

Inherited from AnyRef

Inherited from Any

Ungrouped