Packages

package config

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Instances extends AnyRef
  2. final class Secret[T] extends AnyRef

    The Secret class represent a secret value of type T.

    The Secret class represent a secret value of type T.

    The value is implicitly offuscated when creating the Secret instance using an implicit Offuser instance which, by default, transform the value into a shuffled Array[Byte].

    The offuscated value is de-offuscated using an implicit DeOffuser instance every time the method use is invoked which returns the original value un-shuffling the bytes and converting them back to T.

    Example

    val secretString: Secret[String]                      = Secret("my_password")
    val secretValue: Either[NoLongerValidSecret, String]  = secretString.use

Value Members

  1. object Secret extends Instances

Ungrouped