SecretStrategyFactory

com.geirolz.secret.strategy.SecretStrategyFactory

Factory for SecretStrategy.

Implicitly provides SecretStrategy for primitive types and collections.

Value parameters

algebra

the algebra used to build the SecretStrategy.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def apply[U](f: SecretStrategyFactory ?=> U): U
def build[P](capacity: Int)(fillBuffer: ByteBuffer => P => PlainValueBuffer, readBuffer: PlainValueBuffer => P): SecretStrategy[P]
def directByteBufferForArray[U : ClassTag](toBytes: (Array[U]) => Array[Byte], toUs: (Array[Byte]) => Array[U]): SecretStrategy[Array[U]]
def forString(charset: Charset)(using ss: SecretStrategy[Array[Byte]]): SecretStrategy[String]
def withDirectByteBuffer[P](capacity: Int)(buildObfuscator: (P => PlainValueBuffer) => Obfuscator[P], buildDeObfuscator: (PlainValueBuffer => P) => DeObfuscator[P], fillBuffer: ByteBuffer => P => PlainValueBuffer, readBuffer: PlainValueBuffer => P): SecretStrategy[P]