@hiero-did-sdk/signer-internal
v0.2.1
Published
This package provides the `Signer` class, a core component of the Hiero DID SDK. It enables secure key management and digital signature generation for Decentralized Identifiers (DIDs) using the ED25519 algorithm.
Downloads
10,331
Readme
@hiero-did-sdk/signer-internal
This package provides the Signer class, a core component of the Hiero DID SDK. It enables secure key management and digital signature generation for Decentralized Identifiers (DIDs) using the ED25519 algorithm. The Signer class adheres to the Signer interface, providing a standardized way to handle cryptographic operations within the Hedera DID ecosystem.
Features
- Key Management: Generate ED25519 key pairs or initialize from existing keys, providing flexibility in key management workflows.
- Signing and Verification: Efficiently sign messages and verify signatures, ensuring data integrity and authenticity within your DID implementations.
- Compatibility: Supports both raw and DER-formatted keys for seamless integration with different systems and libraries.
- Security: Designed with security best practices to safeguard your private keys and ensure the reliability of signature operations.
- Hedera Network Support: Supports DID creation on the Hedera mainnet and testnet.
Installation
Install the package via npm:
npm install @hiero-did-sdk/signer-internalUsage
Learn how to use the Signer class to generate key pairs, sign messages, and verify signatures in the Signer Guide.
API Reference
Learn more in the Signer API Reference.
Running Tests
Unit tests are included to validate functionality. Run tests with:
npm testLicense
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
References
- Hiero DID SDK - The official repository for the Hiero DID SDK, containing the complete source code and documentation.
- Hiero JavaScript SDK - The official Hiero JavaScript SDK, used for interacting with the Hedera network.
