Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crypto-api-wrapper

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crypto-api-wrapper - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="0.6.1"></a>
## [0.6.1](https://github.com/coast-team/crypto-api-wrapper/compare/v0.6.0...v0.6.1) (2018-07-18)
### Bug Fixes
* **package:** build for browser points to the right file ([3ee7403](https://github.com/coast-team/crypto-api-wrapper/commit/3ee7403))
<a name="0.6.0"></a>

@@ -7,0 +17,0 @@ # [0.6.0](https://github.com/coast-team/crypto-api-wrapper/compare/v0.4.2...v0.6.0) (2018-07-13)

17

package.json
{
"name": "crypto-api-wrapper",
"version": "0.6.0",
"version": "0.6.1",
"description": "## Web Crypto wrapper",
"main": "dist/commonjs/src/index.node.js",
"browser": {
"buffer": false,
"node-webcrypto-ossl": false
},
"browser": "dist/commonjs/src/index.browser.js",
"types": "dist/commonjs/src/index.node.d.ts",

@@ -37,3 +34,3 @@ "files": [

"karma-spec-reporter": "^0.0.32",
"karma-typescript": "^3.0.12",
"karma-typescript": "^3.0.13",
"lint-staged": "^7.2.0",

@@ -45,3 +42,3 @@ "markdownlint-cli": "^0.11.0",

"text-encoding": "^0.6.4",
"tslint": "^5.10.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.13.0",

@@ -56,5 +53,5 @@ "typedoc": "^0.11.1",

"test-node": "npm run build && jasmine --config=jasmine.json",
"lint": "tslint --fix -p tsconfig.json && prettier --write --list-different src/**/*.ts test/**/*.{ts,config.js} ./*.{ts,js,json,md} docs/**/*.md && markdownlint ./*.md",
"lint": "tslint --fix -p tsconfig.json && prettier --write --list-different src/**/*.ts test/**/*.{ts,config.js} ./*.{ts,js,json,md} docs/**/*.md && markdownlint ./*.md -i 'CHANGELOG.md'",
"precommit": "lint-staged && npm test -- --single-run --no-auto-watch",
"pre-release": "npm run build && npm publish",
"pre-release": "npm run build",
"release": "standard-version --no-verify"

@@ -84,3 +81,3 @@ },

"git add",
"markdownlint"
"markdownlint -i 'CHANGELOG.md'"
],

@@ -87,0 +84,0 @@ "*.ts": [

@@ -18,20 +18,20 @@ # Crypto API wrapper

* generateSigningKey()
* generateEncryptionKey()
* exportKey(keypair)
* importKey(keydata)
* sign(plaintext, privateKey)
* verify(plaintext, signature, publicKey)
* encrypt(plaintext, publicKey)
* decrypt(ciphertext, privateKey)
- generateSigningKey()
- generateEncryptionKey()
- exportKey(keypair)
- importKey(keydata)
- sign(plaintext, privateKey)
- verify(plaintext, signature, publicKey)
- encrypt(plaintext, publicKey)
- decrypt(ciphertext, privateKey)
### symmetricCrypto API
* generateEncryptionKey()
* exportKey(encryptionKey)
* toB64(keydata)
* fromB64(keydataB64)
* importKey(keydata)
* encrypt(plaintext, encryptionKey)
* decrypt(ciphertext, encryptionKey)
- generateEncryptionKey()
- exportKey(encryptionKey)
- toB64(keydata)
- fromB64(keydataB64)
- importKey(keydata)
- encrypt(plaintext, encryptionKey)
- decrypt(ciphertext, encryptionKey)

@@ -38,0 +38,0 @@ [1]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API

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