Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

ecies wasm example

This example shows how to use ecies-wasm with vite.

Install

pnpm install

Run dev server

pnpm dev

Build and preview

pnpm build && pnpm preview

Build local wasm package (optional)

Make sure you have wasm-pack installed. Then wasm-pack build --target web.

After pkg folder is generated, update import in index.js as:

import init, * as ecies from "../pkg/ecies_wasm";