JWT JWE RSA-OAEP-256 & AES 256 GCM encryption (encryption only)


Important note: this program is doing what it promises but the programming itself is of very poor quality and for demonstration purposes only. Never ever use this program as source for your own programs because there are a lot of conversions to get it run.

Get more information about this program on my webpage JSON web encryption JWE with algorithms RSA-OAEP-256 and A256GCM


collecting data for the payload:

Enter a subject:

Enter an issuer:

Enter the data to encrypt:

Enter an expire time in seconds:


collecting data for the payload:

Enter the key algorithm:

Enter the encryption algorithm:


Insert the Public Key you received (PEM encoding):


press the encrypt button to proceed:




This is the payload to encrypt in JSON-encoding:

This is the JWT header in JSON-encoding:


Technical note: this program uses the RSA OAEP-256 key encryption algorithm with a 2048 bit long key and an AES-256-GCM payload encryption.