Commit 6561274d authored by Calvin Metcalf's avatar Calvin Metcalf Committed by Ben Noordhuis
Browse files

crypto: support passwords in publicEncrypt

Private keys may be used along with publicEncrypt since the private key
includes the public one.  This adds the ability to use encrypted private
keys which previously threw an error.  This commit also makes sure the
user exposed functions have names.

PR-URL: https://github.com/iojs/io.js/pull/626


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent e9eb2ec1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment