Packages

object ExtendedPrivateKeyEd25519

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtendedPrivateKeyEd25519
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Instances extends AnyRef
  2. type InvalidDerivedKey = InvalidDerivedKey.type
  3. type Password = String

    The type of the password used alongside a mnemonic to generate an ExtendedPrivateKeyEd25519

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(entropy: Entropy, password: Password): ExtendedPrivateKeyEd25519

    Instantiates an ExtendedPrivateKeyEd25519 from entropy and a password.

    Instantiates an ExtendedPrivateKeyEd25519 from entropy and a password.

    entropy

    some random entropy

    password

    an optional password for an extra layer of security

    returns

    an ExtendedPrivateKeyEd25519

  5. def apply(bytes: ByteVector96): ExtendedPrivateKeyEd25519

    Instantiates an ExtendedPrivateKeyEd25519 from a 96-byte vector with little endian ordering.

    Instantiates an ExtendedPrivateKeyEd25519 from a 96-byte vector with little endian ordering.

    bytes

    96 bytes representing the left/right keys with a chain code in little-endian

    returns

    an ExtendedPrivateKeyEd25519 representing the bytes

  6. def apply(leftKey: ByteVector32, rightKey: ByteVector32, chainCode: ByteVector32): ExtendedPrivateKeyEd25519

    Instantiates an ExtendedPrivateKeyEd25519 from a 32-byte left/right key and 32-byte chain code with little-endian ordering

    Instantiates an ExtendedPrivateKeyEd25519 from a 32-byte left/right key and 32-byte chain code with little-endian ordering

    leftKey

    the 32-byte left key

    rightKey

    the 32-byte right key

    chainCode

    the 32-byte chain code

    returns

    the ExtendedPrivateKeyEd25519 representing the bytes

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def copy(value: ExtendedPrivateKeyEd25519): ExtendedPrivateKeyEd25519

    Creates a copy of an ExtendedPrivateKey.

    Creates a copy of an ExtendedPrivateKey.

    value

    the private key to copy

    returns

    the copied ExtendedPrivateKey

  10. val edBaseN: BigInt

    ED-25519 Base Order N

    ED-25519 Base Order N

    Equivalent to 2^252 + 27742317777372353535851937790883648493

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  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()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def validate(value: ExtendedPrivateKeyEd25519): Either[InvalidDerivedKey, ExtendedPrivateKeyEd25519]

    Validates that the given key is a valid derived key.

    Validates that the given key is a valid derived key. Keys are invalid if their left private keys are divisible by the ED-25519 Base Order N.

    value

    the private key value

    returns

    either an invalid error or the private key

  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. case object InvalidDerivedKey extends Product with Serializable
  27. object implicits extends Instances

Inherited from AnyRef

Inherited from Any

Ungrouped