Skip to content

Enhancement ideas taken from the ursa module #7

@mattcollier

Description

@mattcollier

openssl is currently broken in atom-shell, so I'm in the hunt for alternatives. I'm a big fan of your ths module, so I thought I would take a look at node-cryptopp.

As you are probably aware the ursa module only exposes the RSA functions of openssl, so the fact that this module expands the available encryption options is good.

Looking at the RSA functions available in node-cryptopp I'm not seeing (or overlooking) some nice features found in the ursa module.

  • ability to read/write PEM encoded strings key storage and public key exchange.
  • ability to specify the encoding of ciphertext for encoding/decoding operations. It appears that hex is the only encoding available right now.
  • ursa provides methods/functions on a 'key' object for encryption/decryption/signing instead of passing in the various components of the key. I wonder if some of these convenience methods could be provided by the node wrapper.

I also appreciate that you have given consideration to protecting the key information in-memory.

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