Logo

github Download
WASM examples

Example projects with WasmThemis #

Once you have installed WasmThemis, it’s time to give it some action!

Code samples #

Some code samples for Themis features are available at docs/examples/js on GitHub:

  • key generation utilities
  • data encryption using Secure Cell
  • message encryption using Secure Message
  • a simple chat server and client using Secure Session
  • password authentication using Secure Comparator

You can also take a look at the Themis examples for WASM docs/examples/wasm on GitHub.

And WASM unit tests in WasmThemis source code.

Debugging aids #

There are command-line utilities that you can run with node from GitHub source code at tools/js/wasm-themis.

What’s next #

Read the feature guide to learn how to use Themis effectively with WebAssembly.