Skip to content

Conversion of keys #61

@engineer2u4u

Description

@engineer2u4u

The below function generates keys in buffer format:

const keyPair = virgilCrypto.generateKeys();

But I need to save these keys in my database, where it doesn't allow buffer values.
In what format can I convert it to for saving in my database which can be easily retrieved and converted back for encryption and decryption.

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