Constructor.
Domain.
Static
getGet a transformer, constructing it if necessary. The type returned is IdentityTransformer if tweak is undefined, EncryptionTransformer if tweak is defined. Note that although an EncryptionTransformer with a zero tweak operates as an IdentityTransformer, EncryptionTransformer is still the type returned if a zero tweak is explicitly specified.
Domain.
Optional
tweak: number | bigintTweak.
IdentityTransformer if tweak is undefined, EncryptionTransformer if tweak is defined.
Protected
doProtected
doTransform a value forward.
Value.
Transformed value.
Transform a value forward.
Value.
Called after the value is transformed to convert it to its final value.
Value transformed into object.
Transform values forward.
Transformed values.
Transform values forward.
Values. If this is an instance of Sequencer, the minimum and maximum values are validated prior to transformation. Otherwise, the individual values are validated at the time of transformation.
Called after each value is transformed to convert it to its final value.
Values transformed into objects.
Transform a value or values forward. This signature exists to allow similar overloaded methods in other classes to call this method correctly.
Transform a value or values forward. This signature exists to allow similar overloaded methods in other classes to call this method correctly.
Identity transformer. Values are transformed to themselves.