Permalink
Browse files

Updating algo section.

  • Loading branch information...
1 parent d43f67e commit 650e8ce318ecfd053a59c31ea5317ac47ec6ab9b @brianloveswords committed Jun 2, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 README.md
View
@@ -13,10 +13,17 @@ Algorithms
----------
The JWS spec reserves several algorithms for cryptographic signing. Out of the 9, this library currently supports 7:
+
+**HMAC** – native
* HS256 – HMAC using SHA-256 hash algorithm
* HS384 – HMAC using SHA-384 hash algorithm
* HS512 – HMAC using SHA-512 hash algorithm
-* RS256 – RSA using SHA-256 hash algorithm <strong>*caveat, read below</strong>
+
+
+**RSA** – requires special version of pycrypto, read below
+* RS256 – RSA using SHA-256 hash algorithm
+
+**ECDSA** – requires ecdsa lib: ``pip install ecdsa``
* ES256 – ECDSA using P-256 curve and SHA-256 hash algorithm
* ES384 – ECDSA using P-384 curve and SHA-384 hash algorithm
* ES512 – ECDSA using P-521 curve and SHA-512 hash algorithm

0 comments on commit 650e8ce

Please sign in to comment.