{"version":"1.0","type":"rich","title":"Stanford Javascript Crypto Library basic AES example","description":"This example demonstrates symmetric encryption and decryption with the Stanford Javascript Crypto Library (SJCL), showing how a plaintext message is converted into a JSON ciphertext object and then restored to its original form. The code uses `sjcl.encrypt` with a password-derived key, applying the default AES cipher and PBKDF2 key stretching with 1000 iterations as specified in the `parameters` object. It also calls `sjcl.misc.cachedPbkdf2` to precompute the key material, and outputs both the encrypted JSON and the decrypted text via `console.log`. No external data source is involved; the text and password are hardcoded strings.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-78e6aa10388cd6b20176e547b069fc7e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}