diff --git a/core/src/main/scala/com/geirolz/secret/strategy/SecretStrategy.scala b/core/src/main/scala/com/geirolz/secret/strategy/SecretStrategy.scala index 66d4590..4293bf9 100644 --- a/core/src/main/scala/com/geirolz/secret/strategy/SecretStrategy.scala +++ b/core/src/main/scala/com/geirolz/secret/strategy/SecretStrategy.scala @@ -7,7 +7,7 @@ opaque type SecretStrategy[P] = (Obfuscator[P], DeObfuscator[P]) object SecretStrategy extends SecretStrategyFactory(SecretStrategyAlgebra.xor): final lazy val plainFactory = SecretStrategyAlgebra.plain.newFactory - final lazy val xorFactory = SecretStrategyAlgebra.xor.newFactory + final lazy val xorFactory = this extension [P](strategy: SecretStrategy[P]) def obfuscator: Obfuscator[P] = strategy._1