Skip to content

Commit 6526f36

Browse files
committed
[README] Note about HS384 and HS512
1 parent 3f241d2 commit 6526f36

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ This library supports the following algorithms:
4747
- None - Unsecured JWTs
4848
- HS256 - HMAC using SHA-256 hash algorithm (default)
4949

50+
#### Additional Algorithms
51+
52+
Support for HS384 and HS512 can be found in the `algorithms-hs` branch which depends on an unreleased version of CryptoSwift. It can be installed via:
53+
54+
```ruby
55+
pod 'JWT', :git => 'https://github.com/kylef/JWT.swift.git', :branch => 'algorithms-hs'
56+
pod 'CryptoSwift', :head
57+
```
58+
5059
## License
5160

5261
JWT is licensed under the BSD license. See [LICENSE](LICENSE) for more info.

0 commit comments

Comments
 (0)