1.0.3 ā€¢ Published 3 years ago

lizard-ts v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Ethersdcan API library with typescript

šŸ  Homepage

Install

npm i lizard-ts
yarn add lizard-ts

Run tests

yarn test

Usage

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");
}

Author

šŸ‘¤ CuteWisp sweatpotato13@gmail.com

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Show your support

Give a ā­ļø if this project helped you!


This README was generated with ā¤ļø by readme-md-generator

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago