Socket
Socket
Sign inDemoInstall

@aws-crypto/client-node

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-crypto/client-node - npm Package Compare versions

Comparing version 0.1.0-preview.4 to 0.1.0-preview.5

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [0.1.0-preview.5](/compare/@aws-crypto/client-node@0.1.0-preview.4...@aws-crypto/client-node@0.1.0-preview.5) (2019-09-20)
### Bug Fixes
* Add cacheing CMM examples (#187) b74716b, closes #187 #23
# [0.1.0-preview.4](/compare/@aws-crypto/client-node@0.1.0-preview.3...@aws-crypto/client-node@0.1.0-preview.4) (2019-08-08)

@@ -8,0 +19,0 @@

18

package.json
{
"name": "@aws-crypto/client-node",
"version": "0.1.0-preview.4",
"version": "0.1.0-preview.5",
"scripts": {

@@ -15,9 +15,9 @@ "build": "tsc -b tsconfig.json",

"dependencies": {
"@aws-crypto/caching-materials-manager-node": "^0.1.0-preview.3",
"@aws-crypto/decrypt-node": "^0.1.0-preview.3",
"@aws-crypto/encrypt-node": "^0.1.0-preview.3",
"@aws-crypto/kms-keyring-node": "^0.1.0-preview.3",
"@aws-crypto/material-management-node": "^0.1.0-preview.3",
"@aws-crypto/raw-aes-keyring-node": "^0.1.0-preview.3",
"@aws-crypto/raw-rsa-keyring-node": "^0.1.0-preview.3",
"@aws-crypto/caching-materials-manager-node": "^0.1.0-preview.4",
"@aws-crypto/decrypt-node": "^0.1.0-preview.4",
"@aws-crypto/encrypt-node": "^0.1.0-preview.4",
"@aws-crypto/kms-keyring-node": "^0.1.0-preview.4",
"@aws-crypto/material-management-node": "^0.1.0-preview.4",
"@aws-crypto/raw-aes-keyring-node": "^0.1.0-preview.4",
"@aws-crypto/raw-rsa-keyring-node": "^0.1.0-preview.4",
"tslib": "^1.9.3"

@@ -44,3 +44,3 @@ },

},
"gitHead": "698180f30c85ef77a5739ebadd676d4b41ad441f"
"gitHead": "b3e278777e164258f0f40f5ec5d260f1c0d21a9b"
}

@@ -61,9 +61,9 @@ # AWS Encryption SDK for JavaScript client for Node.js

/* Encrypt the string using the keyring and the encryption context
* the Encryption SDK returns an "encrypted message" that includes the ciphertext,
* the Encryption SDK returns an "encrypted message" (`result`) that includes the ciphertext
* the encryption context, and the encrypted data keys.
*/
const { ciphertext } = await encrypt(keyring, cleartext, { context })
const { result } = await encrypt(keyring, cleartext, { context })
/* Decrypt the ciphertext using the same keyring */
const { plaintext, messageHeader } = await decrypt(keyring, ciphertext)
/* Decrypt the result using the same keyring */
const { plaintext, messageHeader } = await decrypt(keyring, result)

@@ -70,0 +70,0 @@ /* Get the encryption context */

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