WasmThemis
WebAssembly wrapper for Themis crypto library.
Themis is a convenient cryptographic library for data protection. It provides secure messaging with forward secrecy and secure data storage. Themis is aimed at modern development practices and has a unified API across 12 platforms, including WebAssembly, Node.js, Python, iOS/macOS, and Java/Android.
Getting started
Installation
Start by installing the latest version of WasmThemis:
npm install wasm-themis
Import it into your project:
const themis = require('wasm-themis')
Wait for WebAssembly code to load:
themis.initialized.then(function() {
//
// Now you can use "themis" functions
//
})
Success!
Documentation
Read the following resources to learn more:
- How to use WasmThemis with JavaScript.
- How to deploy apps using WasmThemis.
- General documentation for Themis library on Cossack Labs Documentation Server.
Additional resources
- If Node.js wrapper would be a better match for your project, see JsThemis.
Licensing
WasmThemis is distributed under Apache 2.0 license.