Skip to content

Feature request: secrecy: Provide support for custom Allocator #1343

Description

@stefanschmidt77

Hi,

I want to store a box allocated with sodium_alloc::SodiumAllocator inside a SecretBox, so I can provide additional memory protection for the boxed data.
As the allocator_api is still a nightly-only feature, I would guess it should be gated behind an optional feature.

Let me know your thoughts and the chances of getting an implementation merged.

Best regards,
Stefan

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions