Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
@rpch/crypto
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.
Weekly downloads
Readme
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 receives a total of 0 weekly downloads. As such, @rpch/crypto popularity was classified as not popular.
We found that @rpch/crypto demonstrated a healthy version release cadence and project activity because the last version was released less than 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
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.