New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hapiness/crypto

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapiness/crypto - npm Package Compare versions

Comparing version 1.0.0-rc.6.1 to 1.0.0-rc.6.2

documentation/JWTService.md

12

documentation/AESService.md

@@ -44,5 +44,5 @@ <img src="http://bit.ly/2mxmKKI" width="500" alt="Hapiness" />

* [API in Detail](#api-in-detail)
* [.createKey(password, salt)](#createKeypassword-salt)
* [.encryptWithAesKey(data)](#encryptWithAesKeydata)
* [.decryptWithAesKey(data)](#decryptWithAesKeydata)
* [.createKey(password, salt)](#createkeypassword-salt)
* [.encryptWithAesKey(data)](#encryptwithaeskeydata)
* [.decryptWithAesKey(data)](#decryptwithaeskeydata)
* [Change History](#change-history)

@@ -126,7 +126,7 @@

* Implementation of all methods (2017-07-28)
* [.createKey(password, salt)](#createKeypassword-salt)
* [.encryptWithAesKey(data)](#encryptWithAesKeydata)
* [.decryptWithAesKey(data)](#decryptWithAesKeydata)
* [.createKey(password, salt)](#createkeypassword-salt)
* [.encryptWithAesKey(data)](#encryptwithaeskeydata)
* [.decryptWithAesKey(data)](#decryptwithaeskeydata)
[Back to top](#table-of-contents)

@@ -31,3 +31,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

core_1.HapinessModule({
version: '1.0.0-rc.6',
version: '1.0.0-rc.6.2',
exports: [

@@ -38,3 +38,4 @@ services_1.RandomstringService,

services_1.RSAService,
services_1.HashService
services_1.HashService,
services_1.JWTService
]

@@ -41,0 +42,0 @@ })

@@ -6,1 +6,2 @@ export * from './randomstring.service';

export * from './hash.service';
export * from './jwt.service';

@@ -7,3 +7,3 @@ (function (factory) {

else if (typeof define === "function" && define.amd) {
define(["require", "exports", "./randomstring.service", "./aes.service", "./pem.service", "./rsa.service", "./hash.service"], factory);
define(["require", "exports", "./randomstring.service", "./aes.service", "./pem.service", "./rsa.service", "./hash.service", "./jwt.service"], factory);
}

@@ -21,3 +21,4 @@ })(function (require, exports) {

__export(require("./hash.service"));
__export(require("./jwt.service"));
});
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

{"name":"@hapiness/crypto","version":"1.0.0-rc.6.1","description":"Crypto module provides some functions for security features like AES key, Key pair, RSA key, PKCS12, Certificate, PEM and more","main":"index.js","types":"index.d.ts","private":false,"repository":{"type":"git","url":"git@github.com:hapinessjs/crypto-module.git"},"keywords":["Crypto","RSA","PEM","PrivateKey","PublicKey","Certificate","RandomString","AES","PKCS12","KeyPair","Hapiness","Framework","NodeJS","Node","HTTP","API","REST","Streams","Async","Decorator","RxJS","Rx","ReactiveX","Observable","Observer","Module","ES2015","ES2016","ES2017","ES6","ES7","ES8","Typescript"],"contributors":[{"name":"Julien Fauville","url":"https://github.com/Juneil"},{"name":"Antoine Gomez","url":"https://github.com/antoinegomez"},{"name":"Sébastien Ritz","url":"https://github.com/srz09"},{"name":"Nicolas Jessel","url":"https://github.com/njl07"}],"license":"SEE LICENSE IN https://github.com/hapinessjs/crypto-module/blob/master/LICENSE.md","bugs":{"url":"https://github.com/hapinessjs/crypto-module/issues"},"homepage":"https://github.com/hapinessjs/crypto-module#readme","dependencies":{"@types/node":"^8.0.17","@types/node-rsa":"^0.4.0","@types/pem":"^1.9.2","@types/randomstring":"^1.1.6","debug":"^2.6.8","node-rsa":"^0.4.2","pem":"^1.9.7","randomstring":"^1.1.5"},"peerDependencies":{"@hapiness/core":"^1.0.0-rc.6","rxjs":"^5.4.2"},"engines":{"node":">=7.0.0"}}
{"name":"@hapiness/crypto","version":"1.0.0-rc.6.2","description":"Crypto module provides some functions for security features like AES key, Key pair, RSA key, PKCS12, Certificate, PEM and more","main":"index.js","types":"index.d.ts","private":false,"repository":{"type":"git","url":"git@github.com:hapinessjs/crypto-module.git"},"keywords":["Crypto","RSA","PEM","PrivateKey","PublicKey","Certificate","RandomString","AES","PKCS12","KeyPair","JWT","Hapiness","Framework","NodeJS","Node","HTTP","API","REST","Streams","Async","Decorator","RxJS","Rx","ReactiveX","Observable","Observer","Module","ES2015","ES2016","ES2017","ES6","ES7","ES8","Typescript"],"contributors":[{"name":"Julien Fauville","url":"https://github.com/Juneil"},{"name":"Antoine Gomez","url":"https://github.com/antoinegomez"},{"name":"Sébastien Ritz","url":"https://github.com/srz09"},{"name":"Nicolas Jessel","url":"https://github.com/njl07"}],"license":"SEE LICENSE IN https://github.com/hapinessjs/crypto-module/blob/master/LICENSE.md","bugs":{"url":"https://github.com/hapinessjs/crypto-module/issues"},"homepage":"https://github.com/hapinessjs/crypto-module#readme","dependencies":{"@types/jsonwebtoken":"^7.2.2","@types/node":"^8.0.17","@types/node-rsa":"^0.4.0","@types/pem":"^1.9.2","@types/randomstring":"^1.1.6","jsonwebtoken":"^7.4.1","node-rsa":"^0.4.2","pem":"^1.9.7","randomstring":"^1.1.5"},"peerDependencies":{"@hapiness/core":"^1.0.0-rc.6","rxjs":"^5.4.2"},"engines":{"node":">=7.0.0"}}

@@ -36,5 +36,5 @@ <img src="http://bit.ly/2mxmKKI" width="500" alt="Hapiness" />

`Crypto` module for the [Hapiness](https://github.com/hapinessjs/hapiness) framework provides some functions for security features like `AES key`, `Key pair`, `PKCS12`, `RSA key`, `Certificate` and more.
`Crypto` module for the [Hapiness](https://github.com/hapinessjs/hapiness) framework provides some functions for security features like `AES key`, `Key pair`, `PKCS12`, `RSA key`, `Certificate`, `JWT` and more.
We use existing node modules to provide these functions: [NodeRSA](https://github.com/rzcoder/node-rsa), [PEM](https://github.com/Dexus/pem) and [RandomString](https://github.com/klughammer/node-randomstring) but we add `Observable` feature for asynchronous and stream processes.
We use existing node modules to provide these functions: [NodeRSA](https://github.com/rzcoder/node-rsa), [PEM](https://github.com/Dexus/pem), [JWT](https://github.com/auth0/node-jsonwebtoken) and [RandomString](https://github.com/klughammer/node-randomstring) but we add `Observable` feature for asynchronous and stream processes.

@@ -60,7 +60,7 @@ **All most important crypto features in only one module.**

```bash
$ npm install --save @hapiness/crypto
$ npm install --save @hapiness/core @hapiness/crypto rxjs
or
$ yarn add @hapiness/crypto
$ yarn add @hapiness/core @hapiness/crypto rxjs
```

@@ -70,4 +70,5 @@

"dependencies": {
"@hapiness/crypto": "^1.0.0-rc.6",
"@hapiness/crypto": "^1.0.0-rc.6",
"@hapiness/core": "^1.0.0-rc.6",
"@hapiness/crypto": "^1.0.0-rc.6.2",
"rxjs": "^5.4.2",
//...

@@ -125,2 +126,3 @@ }

* [./documentation/HashService.md](https://github.com/hapinessjs/crypto-module/blob/master/documentation/HashService.md)
* [./documentation/JWTService.md](https://github.com/hapinessjs/crypto-module/blob/master/documentation/JWTService.md)
* [./documentation/PEMService.md](https://github.com/hapinessjs/crypto-module/blob/master/documentation/PEMService.md)

@@ -147,2 +149,6 @@ * [./documentation/RandomstringService.md](https://github.com/hapinessjs/crypto-module/blob/master/documentation/RandomstringService.md)

* v1.0.0-rc.6.2 (2017-08-02)
* Implementation of `JWTService`
* Related tests.
* Documentation.
* v1.0.0-rc.6 (2017-07-28)

@@ -149,0 +155,0 @@ * Implementation of `CryptoModule` with `AESService`, `HashService`, `PEMService`, `RandomstringService` and `RSAService`

import { CoreModuleWithProviders, HapinessModule } from '@hapiness/core';
import { RandomstringService, AESService, PEMService, RSAService, HashService } from './services';
import { RandomstringService, AESService, PEMService, RSAService, HashService, JWTService } from './services';
import { CRYPTO_CONFIG, CryptoConfig } from './config';
@HapinessModule({
version: '1.0.0-rc.6',
version: '1.0.0-rc.6.2',
exports: [

@@ -12,3 +12,4 @@ RandomstringService,

RSAService,
HashService
HashService,
JWTService
]

@@ -15,0 +16,0 @@ })

@@ -6,1 +6,2 @@ export * from './randomstring.service';

export * from './hash.service';
export * from './jwt.service';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc