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

@entropyxyz/x25519-chacha20poly1305-web

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entropyxyz/x25519-chacha20poly1305-web

x25519 & chacha20poly1305

  • 0.1.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

x25519-chacha20poly1305


WARNING: This code has not been audited and is not yet suitable for production. Use at your own risk. test


NOTE: make sure you have your C archiver and compiler env vars set, or secp256k1-sys will fail to build

e.g. AR=/opt/homebrew/opt/llvm/bin/llvm-ar> CC=/opt/homebrew/opt/llvm/bin/clang

Nodejs package for x25519 key exchange and chacha20poly1305 encryption, written in Rust compiled to WASM.

Development process

Install dependencies

See example/ci-test.sh for example of how to install both rust and javascript dependencies.

Compile

Compile a nodejs/wasm library from the Rust source.

make

Link the nodejs/wasm library locally.

make link

Test

After compiling and linking, run:

ts-node example/test.ts

NPM

link to package on npm: https://www.npmjs.com/package/x25519

FAQs

Package last updated on 22 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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