Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sweatpotato13/lizard-ts

PQC Lizard implementation with typescript
https://github.com/sweatpotato13/lizard-ts

npm post-quantum-cryptography

Last synced: 1 day ago
JSON representation

PQC Lizard implementation with typescript

Awesome Lists containing this project

README

        

Welcome to lizard-ts 👋



Version

Documentation


Maintenance

> Ethersdcan API library with typescript

### 🏠 [Homepage](https://github.com/sweatpotato13/lizard-ts)

## Install

```sh
npm i lizard-ts
yarn add lizard-ts
```

## Run tests

```sh
yarn test
```

## Usage

```ts
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 **

- Website: Cutewisp.com
- Github: [@sweatpotato13](https://github.com/sweatpotato13)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/sweatpotato13/lizard-ts/issues).

## Show your support

Give a ⭐️ if this project helped you!

---

_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_