{{key-version-select key=key onVersionChange=(action (mut key_version)) key_version=key_version }}
{{textarea name="ciphertext" class="textarea" id="ciphertext" value=ciphertext}}
{{#if key.derived}}
{{input type="text" id="context" value=context class="input" data-test-transit-input="context"}}
{{b64-toggle value=context data-test-transit-b64-toggle="context"}}
{{/if}} {{#if (eq key.convergentEncryptionVersion 1)}}
{{input type="text" id="nonce" value=nonce class="input" data-test-transit-input="nonce"}}
{{b64-toggle value=nonce data-test-transit-b64-toggle="nonce"}}
{{/if}}

Submitting this form will update the ciphertext in-place.