Skip to content

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

@stefanschmidt77

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

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