Skip to content

Clear secret keys when they are not needed anymore #52

Open
@HoOngEe

Description

@HoOngEe

Currently, private key type is string but string type variables cannot be explicitly dropped or cleared. Change the type of secret key to Buffer and clear(fill zeros to the memory it holds) when the necessity of them ends to enhance security.

Metadata

Metadata

Assignees

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