20240911.0.0 • Published 1 year ago
@apeleghq/cose-algorithms v20240911.0.0
🔒 Identifiers from IANA's COSE Algorithms Registry
🚀 Features
- Implements all assigined entries in IANA's COSE Algorithm that have a name and a value.
- Simple exported constants, with no code to execute.
- Some name transformations were required to make them valid JS identifiers.
- For example,
HMAC 256/64becomesHMAC256_s_64andECDH-SS + HKDF-256becomesECDH_SS_and_HKDF_256.
- For example,
- Incudes
JSDocwith a description as well as a note as to whether the value is currently deprecated or recommended. - It does not support reverse lookups. For example, there is not built in way
to find the name for, for example, the value
0(a reverse lookup would yieldReserved).
💻 Installation
To install the package, you can use npm or yarn:
npm install @apeleghq/cose-algorithmsor
yarn add @apeleghq/cose-algorithms📚 Usage
Decrypting Data
import { encodings, decrypt } from '@apeleghq/cose-algorithms';🤝 Contributing
We welcome any contributions and feedback! Please feel free to submit pull requests, bug reports or feature requests to our GitHub repository.
📜 License
This project is dedicated to the public domain, and you may do with it as you
wish. Check out the LICENSE.txt file for more information.
If you download the full sources, note that some support files might (such as
.prettierrc.cjs) might have a different license. In those cases, that license
applies.
20240911.0.0
1 year ago