Skip to content

use direct ByteBuffer instead of byte[] in cryptographic operations #2

Description

@andy-goryachev

Generational garbage collector may leave copies of sensitive data in multiple locations in RAM. We should use direct ByteBuffer for any crypto operations instead of byte[].

See
https://news.ycombinator.com/item?id=20241363

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions