https://github.com/soohoio/sss-pk-generator
https://github.com/soohoio/sss-pk-generator
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/soohoio/sss-pk-generator
- Owner: soohoio
- License: apache-2.0
- Created: 2022-05-17T10:39:52.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T11:15:50.000Z (about 4 years ago)
- Last Synced: 2025-03-06T10:41:55.008Z (over 1 year ago)
- Language: TypeScript
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# sss-pk-generator
Private key maker using shamir secret sharing
---
## install
`npm install --save sss-pk-generator`
## basic usages
```javascript
generateKey = (passphraseList: string[], threshold: number)
```
```javascript
unlockShares = (
pairs: {
cipherparams: string | { ct: string; iv: string; s: string };
secret: string;
}[],
)
```