we can see that HS256 and RS256 are signed with HMAC and RSA algorithms respectively. def sign(algorithm, msg, key) if %w(HS256 HS384 HS512).include?(algorithm)
確定! 回上一頁