Skip to content

Releases: maxng07/ted-gui

Graphical WebApp TED - Doublebyte language support

19 Oct 08:24
510c25e
Compare
Choose a tag to compare

This release enhances v0.10 by adding doublebyte language support on the JS front end. JS now perform encodeURI on your text input before sending to wasm to encipher and decodeURI after receiving from wasm the decipher text. This adds doublebyte language support such as Chinese, Japanese and Thai. These 3 languages have been tested and works fine. The changes are only on html and js, no changes on wasm binary (but included in this package).

Download the html, js and wasm to the same directory, and access the html to start.
Previous methods to serve the html are still valid.

Graphical WebApp TED

17 Oct 12:30
5a6141c
Compare
Choose a tag to compare

This is the first release of the graphical version of TED using WebApp. TED is compiled into wasm, with wasm.js to wrap around the wasm binary and index.html to provide the graphical form. TED wasm will run within the browser sandbox and perform the crypto using AES-GCMSIV. The program will be supported on both desktop and mobile device. Tested on IOS and OSX Safari browser.

This release supports only single-byte language such as English and Bahasa for encipher/decipher. The js UI needs some fixing to support unicode. TED binary already supports unicode inputs.

The current version of wasm binary has an expiry date of 30 December 2019.

Usage - You can use the below options
(1) Install a Web Server and have all 3 files in the same directory, open the index.html to start. Fill up the graphical form and have your text encipher or decipher.
(2) Alternatively, you can store all 3 files in a web storage in the same directory. Change the url of the wasm and wasm.js in the html and it will work. Note that some browser such as firefox expects Content-Type for wasm to be set as "Application/Wasm" for it to load. Web Server is preferred over Web Storage as Web Server will support Accept-Encoding with gzip to reduce the wasm download time.
(3) To load this off-line, you need to ensure you disable CORS in your browser. Firefox browser supports
disabling CORS. WASM binary will be loaded as from another origin.

Snapshot of index.html landing page with the form.

Download - index.html, ted-wb.wasm, wasm.js