CachePolicy

org.sigilaris.core.crypto.internal.CryptoParams.CachePolicy
object CachePolicy

Caching policy for elliptic curve point and coordinate computations.

Controls whether intermediate cryptographic computations (EC points, x/y coordinates, byte arrays) are cached for performance. Caching can be disabled via system property for debugging or reduced memory footprint.

Attributes

Source
CryptoParams.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val enabled: Boolean

Whether caching is enabled.

Whether caching is enabled.

Defaults to true. Set system property sigilaris.crypto.cache=false to disable.

Attributes

Note

Disabling cache reduces memory usage but increases CPU overhead for repeated cryptographic operations

Source
CryptoParams.scala