object Entropy
- Alphabetic
- By Inheritance
- Entropy
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Base = Any { type __Entropy__newtype }
- case class InvalidSize() extends ValidationFailure with Product with Serializable
- implicit final class Ops$newtype extends AnyVal
- type Repr = Array[Byte]
- trait Tag extends Any
- abstract type Type <: Base with Tag
- sealed trait ValidationFailure extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def cannotUnwrapArrayAmbiguous1: Coercible[Array[Type], Array[Repr]]
- Annotations
- @inline()
- implicit def cannotUnwrapArrayAmbiguous2: Coercible[Array[Type], Array[Repr]]
- Annotations
- @inline()
- implicit def cannotWrapArrayAmbiguous1: Coercible[Array[Repr], Array[Type]]
- Annotations
- @inline()
- implicit def cannotWrapArrayAmbiguous2: Coercible[Array[Repr], Array[Type]]
- Annotations
- @inline()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def deriving[TC[_]](implicit ev: TC[Repr]): TC[Type]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromPhrase(phrase: Phrase, wordList: LanguageWordList, size: MnemonicSize): Entropy
Instantiates an
Entropyvalue from aPhrase,LanguageWordList, andMnemonicSize.Instantiates an
Entropyvalue from aPhrase,LanguageWordList, andMnemonicSize.Note: the phrase is not re-validated for the given
LanguageWordListandMnemonicSize- 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
- def fromUuid(uuid: UUID): Entropy
Instantiates an
Entropyvalue from a givenUUID.Instantiates an
Entropyvalue from a givenUUID.- uuid
a UUID to convert into
Entropy- returns
an
Entropyvalue
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def opsThis(x: Ops$newtype): Type
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def unsafeUnwrap: Coercible[Type, Repr]
- Annotations
- @inline()
- implicit def unsafeUnwrapM[M[_]]: Coercible[M[Type], M[Repr]]
- Annotations
- @inline()
- implicit def unsafeWrap: Coercible[Repr, Type]
- Annotations
- @inline()
- implicit def unsafeWrapM[M[_]]: Coercible[M[Repr], M[Type]]
- Annotations
- @inline()
- def validated(bytes: Array[Byte], size: MnemonicSize): Either[ValidationFailure, Entropy]
Instantiates an
Entropyvalue from byte data for an expected mnemonic size.Instantiates an
Entropyvalue 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
ValidationFailureif the byte data is invalid orEntropyif it is valid
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()