crypto/jws library

Functions

decodeJWS(String token) → dynamic
Decodes the provided JWS token and returns the payload.
signJWS(String data, String privateKey) String
Signs the provided data using the private key and returns a JSON Web Signature (JWS) token.
verifyJWS(String token, String publicKey) → dynamic
Verifies the provided JWS token using the public key and returns the payload if the verification is successful.