Packages

class Encryptor extends EncryptionErrorHandling with Logging

Utility class to handle encrypting data to string format and, optionally, handle base64 encoded data.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Encryptor
  2. Logging
  3. EncryptionErrorHandling
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Encryptor(encryptor: Cipher)

    encryptor

    the underlying Cipher object that allows to encrypt the data.

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(data: String): Option[String]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def encrypt(data: String, pad: Boolean = true): Option[String]
  8. def encryptToSafeString(data: String, pad: Boolean = true): Option[String]
  9. def encryptToSafeString(data: Array[Byte]): Option[String]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def handle[T](f: ⇒ T, g: ⇒ Unit): Option[T]
    Attributes
    protected
    Definition Classes
    EncryptionErrorHandling
  15. def handle[T](f: ⇒ T, onException: (Throwable) ⇒ Unit): Option[T]
    Attributes
    protected
    Definition Classes
    EncryptionErrorHandling
  16. def handle[T](f: ⇒ T): Option[T]
    Attributes
    protected
    Definition Classes
    EncryptionErrorHandling
  17. def handler[T](onException: (Throwable) ⇒ Unit): PartialFunction[Throwable, Option[T]]
    Attributes
    protected
    Definition Classes
    EncryptionErrorHandling
  18. def handler[T]: PartialFunction[Throwable, Option[T]]
    Attributes
    protected
    Definition Classes
    EncryptionErrorHandling
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. lazy val log: Logger

    The Logger object.

    The Logger object. This logger will have the same name as the concrete class into which this trait is mixed-in.

    Definition Classes
    Logging
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from EncryptionErrorHandling

Inherited from AnyRef

Inherited from Any

Ungrouped