Packages

object Entropy

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

Type Members

  1. type Base = Any { type __Entropy__newtype }
  2. case class InvalidSize() extends ValidationFailure with Product with Serializable
  3. implicit final class Ops$newtype extends AnyVal
  4. type Repr = Array[Byte]
  5. trait Tag extends Any
  6. abstract type Type <: Base with Tag
  7. sealed trait ValidationFailure extends AnyRef

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. implicit def cannotUnwrapArrayAmbiguous1: Coercible[Array[Type], Array[Repr]]
    Annotations
    @inline()
  6. implicit def cannotUnwrapArrayAmbiguous2: Coercible[Array[Type], Array[Repr]]
    Annotations
    @inline()
  7. implicit def cannotWrapArrayAmbiguous1: Coercible[Array[Repr], Array[Type]]
    Annotations
    @inline()
  8. implicit def cannotWrapArrayAmbiguous2: Coercible[Array[Repr], Array[Type]]
    Annotations
    @inline()
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def deriving[TC[_]](implicit ev: TC[Repr]): TC[Type]
  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. def fromPhrase(phrase: Phrase, wordList: LanguageWordList, size: MnemonicSize): Entropy

    Instantiates an Entropy value from a Phrase, LanguageWordList, and MnemonicSize.

    Instantiates an Entropy value from a Phrase, LanguageWordList, and MnemonicSize.

    Note: the phrase is not re-validated for the given LanguageWordList and MnemonicSize

    phrase

    the mnemonic phrase to get entropy from

    wordList

    the list of valid mnemonic words for the language

    size

    the mnemonic size of the phrase

    returns

    the underlying entropy of the mnemonic phrase

  15. def fromUuid(uuid: UUID): Entropy

    Instantiates an Entropy value from a given UUID.

    Instantiates an Entropy value from a given UUID.

    uuid

    a UUID to convert into Entropy

    returns

    an Entropy value

  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. implicit def opsThis(x: Ops$newtype): Type
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. implicit def unsafeUnwrap: Coercible[Type, Repr]
    Annotations
    @inline()
  26. implicit def unsafeUnwrapM[M[_]]: Coercible[M[Type], M[Repr]]
    Annotations
    @inline()
  27. implicit def unsafeWrap: Coercible[Repr, Type]
    Annotations
    @inline()
  28. implicit def unsafeWrapM[M[_]]: Coercible[M[Repr], M[Type]]
    Annotations
    @inline()
  29. def validated(bytes: Array[Byte], size: MnemonicSize): Either[ValidationFailure, Entropy]

    Instantiates an Entropy value from byte data for an expected mnemonic size.

    Instantiates an Entropy value from byte data for an expected mnemonic size.

    bytes

    the byte data to convert into entropy

    size

    the expected size of the byte data to use for validation

    returns

    either a ValidationFailure if the byte data is invalid or Entropy if it is valid

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

Inherited from AnyRef

Inherited from Any

Ungrouped