A cryptographic library using native Node.js crypto functions & Go binaries for an all-in-one package for everything crypto.
npm install gocryptyarn add gocrypt || npm install gocrypt
This module fetches bindings and executables from the Library of Code sp-us distribution center upon installation. The script will automatically determine your operating system and install related bindings.
GoCrypt is a package written in TypeScript for advanced crytography functions and utilities using
native Node.js crypto functions & via Go bindings.
GoCrypt's mission is to offer all the crypto-related functions and APIs any Node.js developer will need, we understand the difficulty of being able to do x509-related stuff natively. There's really no good libraries out there for making certificates or CSRs for example (@ every "x509" library out there that just spawns openssl), we want to change that.
- Node 12.4.0 or higher is required for stable usage.
- AMD_x64 CPU architecture.
- Windows, Mac, or Linux operating systems.
GoCrypt is using ES6, and TypeScript is gonna spit out some whack stuff when it compiles. If you're not using ES6 when you import GoCrypt all of the function libaries are going to be under a property called default. So if you're using require, then require GoCrypt like this:
``js``
const gocrypt = require('gocrypt').default;
This module includes TypeScript declaration files.
Repository | NPM | Support
Library of Code sp-us, Faculty Marshals