Packages

package secrets

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

Type Members

  1. final case class DerivationPath(decodedPath: Seq[Int], publicBranch: Boolean) extends Product with Serializable

    HD key derivation path (see: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki)

  2. final case class EncryptedSecret(cipherText: String, salt: String, iv: String, authTag: String, cipherParams: EncryptionSettings) extends Product with Serializable

    Describes structure of file storing encrypted seed.

    Describes structure of file storing encrypted seed.

    cipherText

    - encrypted seed

    salt

    - sequence of bits, known as a cryptographic salt

    iv

    - cipher initialization vector

    authTag

    - message authentication tag

    cipherParams

    - cipher params

  3. trait ExtendedKey extends AnyRef

    Description from https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki

    Description from https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki

    We extend both private and public keys first with an extra 256 bits of entropy. This extension, called the chain code, is identical for corresponding private and public keys and consists of 32 bytes. We represent an extended private key as (k, c), with k the normal private key, and c the chain code. An extended public key is represented as (K, c), with K = point(k) and c the chain code.

    Each extended key has 231 normal child keys, and 231 hardened child keys. Each of these child keys has an index. The normal child keys use indices 0 through 231-1. The hardened child keys use indices 231 through 2^32-1.

  4. final class ExtendedPublicKey extends ExtendedKey

    Public key, its chain code and path in key tree.

    Public key, its chain code and path in key tree. (see: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki)

  5. final class ExtendedSecretKey extends ExtendedKey

    Secret, its chain code and path in key tree.

    Secret, its chain code and path in key tree. (see: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki)

  6. final class JsonSecretStorage extends SecretStorage

    Secret storage backend.

    Secret storage backend. Stores encrypted seed in json file (structure is described by EncryptedSecret). Responsible for managing access to the secrets. (detailed storage specification: https://github.com/ergoplatform/ergo-wallet/wiki/Ergo-Secret-Storage)

  7. trait SecretStorage extends AnyRef

Value Members

  1. def secretFromSeed(idx: Int, seed: Array[Byte]): Array[Byte]
  2. def secretFromSeed(idx: Int, seed: String): Array[Byte]
  3. object DerivationPath extends Serializable
  4. object DerivationPathSerializer extends ErgoWalletSerializer[DerivationPath]
  5. object EncryptedSecret extends Serializable
  6. object ExtendedPublicKey
  7. object ExtendedSecretKey
  8. object ExtendedSecretKeySerializer extends ErgoWalletSerializer[ExtendedSecretKey]
  9. object Index
  10. object JsonSecretStorage

Inherited from AnyRef

Inherited from Any

Ungrouped