SecretStrategy

com.geirolz.secret.strategy.SecretStrategy$package.SecretStrategy
opaque object SecretStrategy extends SecretStrategyFactory

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object DeObfuscator

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Obfuscator

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Obfuscator.type

Types

opaque type DeObfuscator[P]
opaque type Obfuscator[P]

Value members

Concrete methods

def apply[P](using ss: SecretStrategy[P]): SecretStrategy[P]
inline def apply[P](obfuscator: Obfuscator[P], deObfuscator: DeObfuscator[P]): SecretStrategy[P]

Inherited methods

def apply[U](f: SecretStrategyFactory ?=> U): U

Attributes

Inherited from:
SecretStrategyFactory
def build[P](capacity: Int)(fillBuffer: ByteBuffer => P => PlainValueBuffer, readBuffer: PlainValueBuffer => P): SecretStrategy[P]

Attributes

Inherited from:
SecretStrategyFactory
def directByteBufferForArray[U : ClassTag](toBytes: (Array[U]) => Array[Byte], toUs: (Array[Byte]) => Array[U]): SecretStrategy[Array[U]]

Attributes

Inherited from:
SecretStrategyFactory
def forString(charset: Charset)(using ss: SecretStrategy[Array[Byte]]): SecretStrategy[String]

Attributes

Inherited from:
SecretStrategyFactory
def withDirectByteBuffer[P](capacity: Int)(buildObfuscator: (P => PlainValueBuffer) => Obfuscator[P], buildDeObfuscator: (PlainValueBuffer => P) => DeObfuscator[P], fillBuffer: ByteBuffer => P => PlainValueBuffer, readBuffer: PlainValueBuffer => P): SecretStrategy[P]

Attributes

Inherited from:
SecretStrategyFactory

Concrete fields

final lazy val xorFactory: SecretStrategy { type Obfuscator = Function1; type DeObfuscator = [P] =>> KeyValueBuffer => P; }

Givens

Inherited givens

given given_SecretStrategy_ArraySeq[T : ClassTag](implicit evidence$1: ClassTag[T], ss: SecretStrategy[Array[T]]): SecretStrategy[ArraySeq[T]]

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory

Attributes

Inherited from:
SecretStrategyFactory
given secretStrategyForChars(using ss: SecretStrategy[String]): SecretStrategy[Array[Char]]

Attributes

Inherited from:
SecretStrategyFactory

Extensions

Extensions

extension [P](strategy: SecretStrategy[P])
def bimap[U](fO: U => P, fD: P => U): SecretStrategy[U]
def deObfuscator: () => P
def obfuscator: () => P