Skip to content

Allow injection of custom cipher #15

Description

@albertodebortoli

In version 0.3.0, ToggleManager accepts an optional CipherConfiguration used to encrypt/decrypt values.
The only supported cipher is ChaCha20Poly1305.

@dchakarov suggested to move ChaCha20Poly1305 out of the package and to leave the implementation of it and/or other Ciphering objects to the integrator.

While I see his point of view, I want to leave it as it is at the moment so to provide a simple solution out-of-the-box.

Would be nice though if the library allowed the injection of a custom cipher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions