AWS Cryptographic helpers for Javascript and Node.js
TypeScript
69
255 commits
updated Oct 9, 2026
AWS Cryptographic Helpers for Javascript and Node.js
This repository collects cryptographic helper packages. We have designed it to gather packages that implement simple primitives for the browser or Node.js. More information about AWS Crypto Tools can be found here
This project is still in its early stages. Please send us your feedback. We might make breaking changes in future releases while the SDK is still in developer preview.
Let’s walk through setting up a project that requires a cryptographically secure random value. The following steps use npm as an example. They assume you have node.js and npm already installed.
npm install --save @aws-crypto/random-source-node@previewconst { randomValues } = require("@aws-crypto/random-source-node");
async function example() {
try {
const rand = await randomValues(32);
console.log(rand.length);
} catch (err) {
console.error(err);
}
}
example();
Each package has readme details.
To run the tests in every package.
npm install
npm test
We welcome your feedback! If you have comments, questions, or suggestions, open a GitHub issue. We are actively monitoring issues and will respond to feedback as we prepare for our GA launch.
We welcome your contributions! To fix a problem, or add to an existing package: create a pull request. You must submit all pull requests under the Apache 2.0 license. They will be reviewed by a team member prior to merging. We would appreciate, but do not require, unit tests for all significant contributions. See Contributing for more information.
This library is licensed under the Apache 2.0 License.
AWS Cryptographic helpers for Javascript and Node.js
TypeScript
69
255 commits
updated Oct 9, 2026
AWS Cryptographic Helpers for Javascript and Node.js
This repository collects cryptographic helper packages. We have designed it to gather packages that implement simple primitives for the browser or Node.js. More information about AWS Crypto Tools can be found here
This project is still in its early stages. Please send us your feedback. We might make breaking changes in future releases while the SDK is still in developer preview.
Let’s walk through setting up a project that requires a cryptographically secure random value. The following steps use npm as an example. They assume you have node.js and npm already installed.
npm install --save @aws-crypto/random-source-node@previewconst { randomValues } = require("@aws-crypto/random-source-node");
async function example() {
try {
const rand = await randomValues(32);
console.log(rand.length);
} catch (err) {
console.error(err);
}
}
example();
Each package has readme details.
To run the tests in every package.
npm install
npm test
We welcome your feedback! If you have comments, questions, or suggestions, open a GitHub issue. We are actively monitoring issues and will respond to feedback as we prepare for our GA launch.
We welcome your contributions! To fix a problem, or add to an existing package: create a pull request. You must submit all pull requests under the Apache 2.0 license. They will be reviewed by a team member prior to merging. We would appreciate, but do not require, unit tests for all significant contributions. See Contributing for more information.
This library is licensed under the Apache 2.0 License.