Work with data
Hash
Makes a one-way fingerprint of text, to compare or check it later.
HMAC
Signs text with a secret both sides know, so the other side can check it.
Sign JWT
Creates a login token (JWT) from the details you list, signed with a secret.
Verify JWT
Checks a token (JWT) is genuine and not expired, and hands back what is inside.