Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@rpch/crypto-for-web
Advanced tools
This crate implements the RPCh Crypto protocol as defined by the specs in the parent repository. The implementation is WASM compatible and also exposes a TypeScript API via wasm-bindgen.
This crate implements the RPCh Crypto protocol as defined by the specs in the parent repository.
The implementation is WASM compatible and also exposes a TypeScript API via wasm-bindgen
.
target | usage | description |
---|---|---|
bundler | bundler (ex: webpack) | (Recommended) Suitable for loading in bundlers like Webpack. |
web | Native in browser | Directly loadable in a web browser. |
nodejs | nodeJS | Loadable via require as a Node.js module. |
The recommended target is bundler
. Assumes a model where the wasm module itself is natively an ES module. This model, however, is not natively implemented in any JS implementation at this time. As a result, to consume the default output of wasm-bindgen you will need a bundler of some form.
The choice of this default output was done to reflect the trends of the JS ecosystem. While tools other than bundlers don't support wasm files as native ES modules today they're all very much likely to in the future!
Rust >= 1.61 is required. Also wasm-pack >=0.11.0
is required for building, which can be installed as cargo install wasm-pack
.
To install & build, simply run:
make
When rebuilding, don't forget to run make clean
first before running make
.
main
with a name like release/<new-version>
<new-version>
in Cargo.toml
Release <new-version>
<new-version>
and publish it
create new tag
option and set it to <new-version>
FAQs
This crate implements the RPCh Crypto protocol as defined by the specs in the parent repository. The implementation is WASM compatible and also exposes a TypeScript API via wasm-bindgen.
The npm package @rpch/crypto-for-web receives a total of 2 weekly downloads. As such, @rpch/crypto-for-web popularity was classified as not popular.
We found that @rpch/crypto-for-web demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.