🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

@libp2p/cms

Package Overview
Dependencies
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/cms

Cryptographically protected messages using the libp2p keychain

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
6
Created
Source

@libp2p/cms

libp2p.io Discuss codecov CI

Cryptographically protected messages using the libp2p keychain

Table of contents

Install

$ npm i @libp2p/cms

Browser <script> tag

Loading this module through a script tag will make it's exports available as Libp2pCms in the global namespace.

<script src="https://unpkg.com/@libp2p/cms/dist/index.min.js"></script>

Features

  • Uses PKCS 7: CMS (aka RFC 5652) to provide cryptographically protected messages
  • Delays reporting errors to slow down brute force attacks

Cryptographic Message Syntax (CMS)

CMS, aka PKCS #7 and RFC 5652, describes an encapsulation syntax for data protection. It is used to digitally sign, digest, authenticate, or encrypt arbitrary message content. Basically, cms.encrypt creates a DER message that can be only be read by someone holding the private key.

API Docs

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Keywords

IPFS

FAQs

Package last updated on 07 Aug 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