PokerMars encryption format
Code is Base64 of a 16-byte random IV followed by AES-256-CBC ciphertext using PKCS7 padding. Secret_key is never stored in the browser or logs.
1
Encryption input
Enter the cash network key, alias, and plaintext JSON to encrypt.
AES-256 requires exactly 32 UTF-8 bytes for cross-language compatibility.
0 / 32 bytes
Cash network alias. It is written to the outer PokerMars request JSON.
The text must be valid JSON. The exact JSON text shown here is encrypted.
2
Encryption result
Copy the full request JSON or only the Base64 Code value.
For compatibility with the PokerMars documentation style, plus signs inside Code are displayed as Unicode escapes.
1
Decryption input
Paste a full PokerMars JSON object or a raw Base64 Code value.
AES-256 requires exactly 32 UTF-8 bytes for cross-language compatibility.
0 / 32 bytes
Both standard plus signs and JSON Unicode escape sequences such as \u002B are accepted.
2
Decryption result
JSON plaintext is automatically formatted for easier inspection.
Security design
Encryption and decryption run on this PHP server through same-origin AJAX. Secret_key, Code, and plaintext are deliberately redacted from log content. Do not expose this utility to the public Internet without access control.