qispace-tppk
v0.1.4
Published
QispaceTPPK is a NPM library designed to facilitate the acquisition of post-quantum preshared keys from Qispace. Before using this library, it is essential to obtain an authorization token from [Quantropi](https://www.quantropi.com/).
Downloads
18
Readme
QispaceTPPK
QispaceTPPK is a NPM library designed to facilitate the acquisition of post-quantum preshared keys from Qispace. Before using this library, it is essential to obtain an authorization token from Quantropi.
Install
npm install qispace-tppk
Usage
To use the qispace-tppk
library, follow these steps:
Get an Authorization Token: Before using the library, obtain an authorization token from Quantropi.
Use the Library in Your JS Code: Import the library and use it in your JS code.
import {TPPK} from 'qispace-tppk'; qispace_tppk = new TPPK(token); res = await qispace_tppk.get(32); // console.log(res.ppk) // {'id': '18239762-043c-40c4-a99a-84c22438a241', 'base64': 'hSVX2xqek/votFm8rCuudcOYKLruWnyQa9v+INwTVUY=', 'hex': '852557db1a9e93fbe8b459bcac2bae75c39828baee5a7c906bdbfe20dc135546', 'raw': {'type': 'Buffer', 'data': [133, 37, 87, 219, 26, 158, 147, 251, 232, 180, 89, 188, 172, 43, 174, 117, 195, 152, 40, 186, 238, 90, 124, 144, 107, 219, 254, 32, 220, 19, 85, 70]}}
Documentation
For detailed documentation and additional features, refer to the official documentation.
Contributing
We welcome contributions to improve qispaceTPPK. If you have suggestions, find bugs, or want to add new features, please follow the contribution guidelines.
License
This project is licensed under the MIT License.