We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cec3f4 commit 3d1e9c0Copy full SHA for 3d1e9c0
README.md
@@ -77,7 +77,7 @@ puts decoded_token
77
* HS512 - HMAC using SHA-512 hash algorithm
78
79
```ruby
80
-# The secret must be a string. With OpenSSL 3.0, JWT::DecodeError will be raised if it isn't provided.
+# The secret must be a string. With OpenSSL 3.0/openssl gem `<3.0.1`, JWT::DecodeError will be raised if it isn't provided.
81
hmac_secret = 'my$ecretK3y'
82
83
token = JWT.encode payload, hmac_secret, 'HS256'
0 commit comments