Skip to content
hmkit-crypto – securing all communications in the HMKit Node.js SDK
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
src
test
.gitignore
CONTRIBUTING.md
LICENSE
README.md
package.json

README.md

hmkit-crypto-node

HMKIT Crypto Node is the HMKit cryptographic layer implementation using pure JavaScript. It is used in hmkit-node library.

Build Status

Table of contents

Features

ECC: Uses well established Elliptic Curve Cryptography's curve p256 (that is as secure as RSA, while having a smaller footprint).

De-/Encrypt: Enables simple encryption and decryption with AES128.

Keys: Perform Diffie-Hellman's key exchange using X9.63 SHA256 algorithm. Additionally convert keys back and forth between bytes and Apple's SecKey format.

Random: Create pseudo-random bytes for cryptographic functions or as unique IDs.

Signatures: Create and verify Elliptic Curve Digital Signature Algorithm (ECDSA) X9.62 SHA256 or HMAC signatures.

Requirements

HMKit Crypto Node is based on NodeJS >= 8

Getting Started

Get an overview by reading the security documentation browse the documentation.

Contributing

Before starting please read our contribution rules Contributing

Developing

This library supports 8 >= node <= 12 versions. In order to run the test :

npm install
npm run test

Licence

This repository is using MIT licence. See more in the LICENCE

You can’t perform that action at this time.