https://github.com/litert/signatures.js
A signatures library based on Node.js crypto module.
https://github.com/litert/signatures.js
ecdsa hmac nodejs pss rsa signature
Last synced: 4 months ago
JSON representation
A signatures library based on Node.js crypto module.
- Host: GitHub
- URL: https://github.com/litert/signatures.js
- Owner: litert
- License: apache-2.0
- Created: 2018-11-15T15:56:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2026-03-18T16:30:08.000Z (5 months ago)
- Last Synced: 2026-03-19T06:22:16.775Z (5 months ago)
- Topics: ecdsa, hmac, nodejs, pss, rsa, signature
- Language: TypeScript
- Size: 752 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# LiteRT/Signatures
[](https://www.typescriptlang.org)
[](https://www.npmjs.com/package/@litert/signatures "Stable Version")
[](https://github.com/litert/signatures/blob/master/LICENSE)
[](https://nodejs.org/dist/latest-v8.x/)
[](https://github.com/litert/signatures.js/issues)
[](https://github.com/litert/signatures.js/releases "Stable Release")
A signatures library based on Node.js crypto module.
## Requirement
- TypeScript v5.0.x (or newer)
- Node.js v18.0.0 (or newer)
## Installation
```sh
npm i @litert/signatures --save
```
## Usage
- [Hash/Digest](./src/examples/00-hash.ts)
The utilities API for calculating hash/digest of data.
- [HMAC](./src/examples/01-hmac.ts)
The API for signing/verifying data using HMAC.
- [RSA](./src/examples/02-rsa.ts)
The API for signing/verifying data using RSA.
- [RSA-PSS](./src/examples/03-rsa-pss.ts)
The API for signing/verifying data using RSA-PSS.
- [EcDSA](./src/examples/04-ecdsa.ts)
The API for signing/verifying data using EcDSA.
- [EdDSA](./src/examples/05-eddsa.ts)
The API for signing/verifying data using EdDSA.
## Document
- [API Docs (en-US)](https://litert.org/projects/signatures.js/api-docs)
> Or local [markdown edition](./docs/en-us/api-docs-md/README.md).
## License
This library is published under [Apache-2.0](./LICENSE) license.