Mathias Bynens
f89a7185b7
doc: mention `binary` as deafult for Hash strings
11 years ago
Fedor Indutny
88dc1fcb62
crypto: `randomBytes` is non-blocking
Add NOTE section in documentation, mentioning that `randomBytes` won't
block when entropy sources are drained.
fix #6372
11 years ago
Fedor Indutny
0be5a94c56
doc: encoding is ignored if input is a Buffer
NOTE: it wasn't in 0.8
fixes #6386
11 years ago
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.
12 years ago
JeongHoon Byun
f217b5ed62
doc: fix typo in crypto docs
12 years ago
Aaron Cannon
0c57b31190
doc: Add crypto.pseudoRandomBytes, fix typo
12 years ago
Jacob Gable
34131af606
doc: fix typo in crypto Hash.digest() note
Added the word 'has' to the sentence.
Closes #4652 .
12 years ago
isaacs
4a32d53155
doc: Crypto streaming interface
12 years ago
Tim Kuijsten
6f9ed28fac
doc: fix typo in setPrivateKey function signature
12 years ago
isaacs
f3621359f4
doc: OpenSSL is bundled now.
12 years ago
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.
12 years ago
isaacs
bfb9d5bbe6
crypto: Binding only accepts buffers
12 years ago
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
12 years ago
isaacs
627f0d27e8
doc: Typo. s/arguemnt/argument/
12 years ago
Ben Noordhuis
14a6c4efb8
crypto: add crypto.getHashes()
12 years ago
Ben Noordhuis
f53441ab1f
crypto: add crypto.getCiphers()
Returns a list of, unsurprisingly, the available ciphers.
12 years ago
isaacs
99b2368a6c
doc: Reduce crypto stability to 2-Unstable
12 years ago
Fedor Indutny
63ff449d87
crypto: bring module into modern age
Introduce 'buffer' encoding, allow returning and giving buffers as
arguments of 'crypto' routines.
Fix #3278
12 years ago
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.
13 years ago
Ben Noordhuis
8963a5228d
doc: update crypto cipher/decipher docs
13 years ago
ssuda
fb7348ae06
crypto: add PKCS12/PFX support
Fixes #2845 .
13 years ago
isaacs
2d44dcc8be
doc: Add stability indicators to documentation
13 years ago
isaacs
674416fbc9
s/buffers/buffer/
13 years ago
isaacs
032b877f31
doc refactor: crypto
13 years ago
Blake Miner
7343f8e776
tls: add `honorCipherOrder` option to tls.createServer()
Documented how to mitigate BEAST attacks.
13 years ago
isaacs
f9e464f95a
s/buffers/buffer/
13 years ago
isaacs
ab294ad93d
doc refactor: crypto
13 years ago
Tomasz Buchert
c6a04ce78f
crypto: add function getDiffieHellman()
Returns a well known, predefined RFC group.
13 years ago
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.
13 years ago
Ingmar Runge
0ca30187cf
Crypto: adding ability to turn off automatic PKCS padding
13 years ago
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
Fixes #2106 .
13 years ago
Dave Irvine
045bfe0da5
docs: document 'encoding' arg of hash.update()
13 years ago
Ben Noordhuis
abfcd1fb00
docs: document crypto.randomBytes()
13 years ago
Glen Low
04122ad2d3
crypto: PBKDF2 function from OpenSSL
14 years ago
koichik
c72223e2a9
Doc improvements
related to #1391 , #1415 .
14 years ago
koichik
d32971a8cb
Doc improvements and change argument name.
Fixes #1318 .
14 years ago
Mark Cavage
88552c51ae
Support for signature verification with RSA/DSA public keys
Fixes #1166 .
14 years ago
Ryan Dahl
0cb4484d43
Doc improvements
Fixes #1147 .
Fixes #1139 .
Fixes #1126 .
Thanks ctide, kext, disfated.
14 years ago
Brian White
9b3472637e
Crypto documentation fixes
Fixes #1104 .
14 years ago
Håvard Stranden
9f0b1a9bc6
Add Diffie-Hellman support to crypto module
Fixes #573
14 years ago
Ryan Dahl
dcc2dd5e1f
Add example to sha1 docs
14 years ago
Ryan Dahl
e9a1dd7930
Typo in docs
Thanks to Anatoliy Chakkaev for pointing it out.
Closes GH-841.
14 years ago
Ryan Dahl
67e352e4b1
fix verifier.verify() docs
Thanks Sitelier. Closes GH-651.
14 years ago
Oleg Efimov
8b980d729c
Fix line wrapping in docs. Add tics for constants in docs text.
14 years ago
Micheil Smith
e190c9616e
Splitting documentation
14 years ago