2.0.1
This release adds support for Swift 3.0.
Breaking
-
Algorithms now take
Data
instead of aString
. This improves the API
allowing you to use keys that cannot be serialised as a String.You can easily convert a String to Data such as in the following example:
.hs256("secret".data(using: .utf8)!)