Java AES128GSM Encrypt/Decrypt

Job ID: 39716553

Budget: $2 – $8 USD

I need a lightweight Java component that encrypts and decrypts small JSON payloads with AES128GSM mode.

Encryption Steps
heavily relies on Base64 URL encoding/decoding
1. Generate a unique salt (16 bytes value)
2. Derive Content-Encryption Key (CEK)
a) PRK Calculation
b) CEK Calculation
3. Construct Header (Content-Coding Header)
4. Prepare data/plaintext to be enciphered, and compute number of pages (portions)
5. Encrypt data per page/portion