Ethersdcan API library with typescript
π Homepage
npm i lizard-ts
yarn add lizard-ts
yarn test
const plain = randomPlaintext();
const m_transpose = scalarMultiplyVector(128, plain);
const key = keyGeneration();
const enc = encrypt(m_transpose, key.pk);
const dec = decrypt(enc, key.sk);
const ms = plain.toString();
const ts = dec.toString();
if (ms === ts) {
console.log("success");
} else {
console.log("failed");
}
π€ CuteWisp sweatpotato13@gmail.com
- Website: Cutewisp.com
- Github: @sweatpotato13
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a βοΈ if this project helped you!
This README was generated with β€οΈ by readme-md-generator