hmkit-crypto

0.10.0 • Public • Published

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

/hmkit-crypto/

    Package Sidebar

    Install

    npm i hmkit-crypto

    Weekly Downloads

    43

    Version

    0.10.0

    License

    GPL-3.0

    Unpacked Size

    23.9 kB

    Total Files

    7

    Last publish

    Collaborators

    • milad-hm