I currently use OpenSSL dgst -sha256 [...] for a JWT header which has alg: RS256. There are eleven JWT algorithms one can pick from on the official
OpenSSL dgst -sha256 [...]
alg: RS256