Ben Noordhuis
cfd0dca9ae
crypto: make getCiphers() return non-SSL ciphers
...
Commit f53441a
added crypto.getCiphers() as a function that returns the
names of SSL ciphers.
Commit 14a6c4e
then added crypto.getHashes(), which returns the names of
digest algorithms, but that creates a subtle inconsistency: the return
values of crypto.getHashes() are valid arguments to crypto.createHash()
but that is not true for crypto.getCiphers() - the returned values are
only valid for SSL/TLS functions.
Rectify that by adding tls.getCiphers() and making crypto.getCiphers()
return proper cipher names.
2013-03-25 18:42:07 +01:00
JeongHoon Byun
f217b5ed62
doc: fix typo in crypto docs
2013-03-17 13:45:14 +01:00
Aaron Cannon
0c57b31190
doc: Add crypto.pseudoRandomBytes, fix typo
2013-03-03 15:30:49 -08:00
isaacs
4a32d53155
doc: Crypto streaming interface
2012-12-14 10:52:27 -08:00
Tim Kuijsten
6f9ed28fac
doc: fix typo in setPrivateKey function signature
2012-11-20 18:02:56 +01:00
isaacs
f3621359f4
doc: OpenSSL is bundled now.
2012-10-23 10:48:51 -07:00
isaacs
76b0bdf720
crypto: Add crypto.DEFAULT_ENCODING (defaults to 'buffer')
...
This is a flag to make it easier for users to upgrade through the
breaking crypto change, and easier for us to switch it back if it's a
problem.
Explicitly set default encoding to 'buffer' in other tests, in case it
ever changes back.
2012-10-23 10:48:51 -07:00
isaacs
bfb9d5bbe6
crypto: Binding only accepts buffers
2012-10-23 10:48:50 -07:00
isaacs
9901b69c8e
crypto: Move encoding logic to JS, default=buffer
...
crypto: Hash and Hmac default to buffers
crypto: Move Cipher encoding logic to JS
crypto: Move Cipheriv encoding logic to JS
crypto: Move Decipher encoding logic to JS
crypto: Move Decipheriv into JS, default to buffers
crypto: Move Sign class to JS
crypto: Better encoding handling in Hash.update
crypto: Move Verify class to JS
crypto: Move DiffieHellman to JS, default to buffers
crypto: Move DiffieHellmanGroup to JS, default to buffers
Also, create a test for this feature
2012-10-23 10:22:42 -07:00
Ben Noordhuis
d0227b0308
Merge remote-tracking branch 'origin/v0.8'
...
Conflicts:
deps/openssl/openssl.gyp
2012-10-21 23:06:48 +02:00
isaacs
627f0d27e8
doc: Typo. s/arguemnt/argument/
2012-10-16 10:59:23 -07:00
Nathan Rajlich
4b238b4c2a
Merge remote-tracking branch 'origin/v0.8'
...
Conflicts:
AUTHORS
ChangeLog
deps/uv/test/runner-win.c
doc/api/process.markdown
lib/repl.js
src/node_crypto.cc
src/node_version.h
2012-10-13 16:16:56 -07:00
Ben Noordhuis
14a6c4efb8
crypto: add crypto.getHashes()
2012-10-13 02:55:14 +02:00
Ben Noordhuis
f53441ab1f
crypto: add crypto.getCiphers()
...
Returns a list of, unsurprisingly, the available ciphers.
2012-10-13 01:49:57 +02:00
isaacs
99b2368a6c
doc: Reduce crypto stability to 2-Unstable
2012-10-11 08:32:46 -07:00
Fedor Indutny
63ff449d87
crypto: bring module into modern age
...
Introduce 'buffer' encoding, allow returning and giving buffers as
arguments of 'crypto' routines.
Fix #3278
2012-09-18 10:58:37 +04:00
Ben Kelly
c6185c8484
doc: Improve cross-linking in API docs markdown
...
Cross-link EventEmitter references in API docs to events.html
Fix broken cross-reference links with wrong anchor names in API docs.
2012-06-15 09:44:37 -07:00
Ben Noordhuis
8963a5228d
doc: update crypto cipher/decipher docs
2012-06-12 22:02:35 +02:00
isaacs
5164ae3838
Merge remote-tracking branch 'ry/v0.6' into v0.6-merge
...
Conflicts:
ChangeLog
deps/uv/include/uv-private/uv-unix.h
deps/uv/src/unix/core.c
deps/uv/src/unix/sunos.c
deps/v8/src/runtime.cc
doc/api/crypto.markdown
lib/http.js
src/node_version.h
test/gc/test-http-client-timeout.js
wscript
2012-05-15 11:37:34 -07:00
ssuda
fb7348ae06
crypto: add PKCS12/PFX support
...
Fixes #2845 .
2012-05-14 17:12:59 +02:00
isaacs
1d5b6f26fe
Merge remote-tracking branch 'ry/v0.6' into v0.6-merge
...
Conflicts:
ChangeLog
Makefile
deps/npm/AUTHORS
deps/npm/html/api/bin.html
deps/npm/html/api/bugs.html
deps/npm/html/api/commands.html
deps/npm/html/api/config.html
deps/npm/html/api/deprecate.html
deps/npm/html/api/docs.html
deps/npm/html/api/edit.html
deps/npm/html/api/explore.html
deps/npm/html/api/help-search.html
deps/npm/html/api/init.html
deps/npm/html/api/install.html
deps/npm/html/api/link.html
deps/npm/html/api/load.html
deps/npm/html/api/ls.html
deps/npm/html/api/npm.html
deps/npm/html/api/outdated.html
deps/npm/html/api/owner.html
deps/npm/html/api/pack.html
deps/npm/html/api/prefix.html
deps/npm/html/api/prune.html
deps/npm/html/api/publish.html
deps/npm/html/api/rebuild.html
deps/npm/html/api/restart.html
deps/npm/html/api/root.html
deps/npm/html/api/run-script.html
deps/npm/html/api/search.html
deps/npm/html/api/shrinkwrap.html
deps/npm/html/api/start.html
deps/npm/html/api/stop.html
deps/npm/html/api/submodule.html
deps/npm/html/api/tag.html
deps/npm/html/api/test.html
deps/npm/html/api/uninstall.html
deps/npm/html/api/unpublish.html
deps/npm/html/api/update.html
deps/npm/html/api/version.html
deps/npm/html/api/view.html
deps/npm/html/api/whoami.html
deps/npm/html/doc/README.html
deps/npm/html/doc/adduser.html
deps/npm/html/doc/bin.html
deps/npm/html/doc/bugs.html
deps/npm/html/doc/build.html
deps/npm/html/doc/bundle.html
deps/npm/html/doc/cache.html
deps/npm/html/doc/changelog.html
deps/npm/html/doc/coding-style.html
deps/npm/html/doc/completion.html
deps/npm/html/doc/config.html
deps/npm/html/doc/deprecate.html
deps/npm/html/doc/developers.html
deps/npm/html/doc/disputes.html
deps/npm/html/doc/docs.html
deps/npm/html/doc/edit.html
deps/npm/html/doc/explore.html
deps/npm/html/doc/faq.html
deps/npm/html/doc/folders.html
deps/npm/html/doc/help-search.html
deps/npm/html/doc/help.html
deps/npm/html/doc/index.html
deps/npm/html/doc/init.html
deps/npm/html/doc/install.html
deps/npm/html/doc/json.html
deps/npm/html/doc/link.html
deps/npm/html/doc/list.html
deps/npm/html/doc/npm.html
deps/npm/html/doc/outdated.html
deps/npm/html/doc/owner.html
deps/npm/html/doc/pack.html
deps/npm/html/doc/prefix.html
deps/npm/html/doc/prune.html
deps/npm/html/doc/publish.html
deps/npm/html/doc/rebuild.html
deps/npm/html/doc/registry.html
deps/npm/html/doc/removing-npm.html
deps/npm/html/doc/restart.html
deps/npm/html/doc/root.html
deps/npm/html/doc/run-script.html
deps/npm/html/doc/scripts.html
deps/npm/html/doc/search.html
deps/npm/html/doc/semver.html
deps/npm/html/doc/shrinkwrap.html
deps/npm/html/doc/star.html
deps/npm/html/doc/start.html
deps/npm/html/doc/stop.html
deps/npm/html/doc/submodule.html
deps/npm/html/doc/tag.html
deps/npm/html/doc/test.html
deps/npm/html/doc/uninstall.html
deps/npm/html/doc/unpublish.html
deps/npm/html/doc/update.html
deps/npm/html/doc/version.html
deps/npm/html/doc/view.html
deps/npm/html/doc/whoami.html
deps/npm/lib/install.js
deps/npm/lib/ls.js
deps/npm/man/man1/npm.1
deps/npm/man/man1/shrinkwrap.1
deps/npm/man/man3/npm.3
deps/npm/man/man3/shrinkwrap.3
deps/npm/node_modules/request/main.js
deps/npm/node_modules/request/package.json
deps/npm/package.json
deps/uv/src/unix/core.c
deps/v8/src/conversions-inl.h
deps/v8/src/elements.cc
deps/v8/src/version.cc
doc/about/index.html
doc/api/assert.markdown
doc/api/child_process.markdown
doc/api/cluster.markdown
doc/api/crypto.markdown
doc/api/debugger.markdown
doc/api/dgram.markdown
doc/api/dns.markdown
doc/api/documentation.markdown
doc/api/events.markdown
doc/api/fs.markdown
doc/api/globals.markdown
doc/api/http.markdown
doc/api/https.markdown
doc/api/modules.markdown
doc/api/net.markdown
doc/api/os.markdown
doc/api/path.markdown
doc/api/process.markdown
doc/api/querystring.markdown
doc/api/readline.markdown
doc/api/stdio.markdown
doc/api/stream.markdown
doc/api/timers.markdown
doc/api/tls.markdown
doc/api/tty.markdown
doc/api/url.markdown
doc/api/util.markdown
doc/api/vm.markdown
doc/api/zlib.markdown
doc/api_assets/style.css
doc/community/index.html
doc/index.html
doc/logos/index.html
doc/template.html
src/node_version.h
tools/doc/html.js
tools/gyp/test/mac/app-bundle/empty.c
2012-03-03 23:38:52 -08:00
isaacs
2d44dcc8be
doc: Add stability indicators to documentation
2012-03-03 17:03:52 -08:00
isaacs
674416fbc9
s/buffers/buffer/
2012-02-29 16:04:55 -08:00
isaacs
032b877f31
doc refactor: crypto
2012-02-29 16:04:50 -08:00
Blake Miner
7343f8e776
tls: add `honorCipherOrder` option to tls.createServer()
...
Documented how to mitigate BEAST attacks.
2012-02-29 02:16:08 +01:00
isaacs
f9e464f95a
s/buffers/buffer/
2012-02-27 11:14:38 -08:00
isaacs
ab294ad93d
doc refactor: crypto
2012-02-27 11:14:32 -08:00
Tomasz Buchert
c6a04ce78f
crypto: add function getDiffieHellman()
...
Returns a well known, predefined RFC group.
2012-02-21 14:07:25 +01:00
Ben Noordhuis
8a6576f764
Merge remote-tracking branch 'origin/v0.6'
...
Conflicts:
common.gypi
2012-02-12 16:12:26 +01:00
Ben Noordhuis
38eec57aef
docs: document tls/crypto `ciphers` option
...
Hitherto undocumented option that lets the user select the list of ciphers to
use or exclude in a SSL/TLS session.
2012-02-09 17:16:46 +01:00
Ingmar Runge
0ca30187cf
Crypto: adding ability to turn off automatic PKCS padding
2012-01-18 21:20:25 +01:00
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
...
Fixes #2106 .
2011-12-27 17:43:58 +09:00
Dave Irvine
045bfe0da5
docs: document 'encoding' arg of hash.update()
2011-12-22 16:57:07 +01:00
Ben Noordhuis
abfcd1fb00
docs: document crypto.randomBytes()
2011-09-27 20:27:57 +02:00
Glen Low
04122ad2d3
crypto: PBKDF2 function from OpenSSL
2011-08-12 16:23:11 +02:00
Ryan Dahl
6d5218bc7d
Merge branch 'v0.4'
...
Conflicts:
doc/api/crypto.markdown
doc/api/modules.markdown
src/platform_win32.cc
2011-08-01 21:52:03 -07:00
koichik
c72223e2a9
Doc improvements
...
related to #1391 , #1415 .
2011-07-30 03:18:33 +09:00
koichik
d32971a8cb
Doc improvements and change argument name.
...
Fixes #1318 .
2011-07-25 23:57:25 +09:00
Ryan Dahl
3d7d994ffc
Merge branch 'v0.4'
...
Conflicts:
doc/api/modules.markdown
test/simple/test-crypto.js
2011-06-15 14:43:37 +02:00
Mark Cavage
88552c51ae
Support for signature verification with RSA/DSA public keys
...
Fixes #1166 .
2011-06-14 12:50:00 +02:00
Ryan Dahl
b6a742d76f
Merge branch 'v0.4'
2011-06-03 16:37:56 +02:00
Ryan Dahl
0cb4484d43
Doc improvements
...
Fixes #1147 .
Fixes #1139 .
Fixes #1126 .
Thanks ctide, kext, disfated.
2011-06-03 13:27:35 +02:00
Brian White
9b3472637e
Crypto documentation fixes
...
Fixes #1104 .
2011-05-24 23:35:18 -07:00
Håvard Stranden
9f0b1a9bc6
Add Diffie-Hellman support to crypto module
...
Fixes #573
2011-05-06 14:36:04 -07:00
Ryan Dahl
dcc2dd5e1f
Add example to sha1 docs
2011-04-03 01:09:00 -07:00
Ryan Dahl
e9a1dd7930
Typo in docs
...
Thanks to Anatoliy Chakkaev for pointing it out.
Closes GH-841.
2011-03-28 15:59:43 -07:00
Ryan Dahl
67e352e4b1
fix verifier.verify() docs
...
Thanks Sitelier. Closes GH-651.
2011-02-09 19:07:19 -08:00
Oleg Efimov
8b980d729c
Fix line wrapping in docs. Add tics for constants in docs text.
2010-11-18 15:41:15 -08:00
Micheil Smith
e190c9616e
Splitting documentation
2010-10-28 14:59:15 -07:00