Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
dukex committed Oct 7, 2014
1 parent 2e32fc4 commit 7959ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -34,7 +34,7 @@ JSON Web Token and its family (JSON Web Signature, JSON Web Encryption and JSON

# With signature & encryption
jwe = jws.encrypt(key, algorithm, encryption_method) # algorithm & encryption_method are optional. default RSA1_5 & A128CBC-HS256
jws.to_s # => header.encrypted_key.iv.cipher_text.authentication_tag
jwe.to_s # => header.encrypted_key.iv.cipher_text.authentication_tag

For details about <code>key</code> and <code>algorithm</code>, see
{JWS Spec}[https://github.com/nov/json-jwt/blob/master/spec/json/jws_spec.rb] and
Expand Down

0 comments on commit 7959ed4

Please sign in to comment.