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

@libp2p/crypto

Package Overview
Dependencies
Maintainers
6
Versions
582
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/crypto - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3-c258b35af

6

dist/src/keys/index.d.ts
/**
* @packageDocumentation
*
* **Supported Key Types**
* ## Supported Key Types
*
* The {@link generateKeyPair}, {@link marshalPublicKey}, and {@link marshalPrivateKey} functions accept a string `type` argument.
*
* Currently the `'RSA'`, `'ed25519'`, and `secp256k1` types are supported, although ed25519 and secp256k1 keys support only signing and verification of messages.

@@ -15,2 +13,4 @@ *

export { generateEphemeralKeyPair } from './ecdh/index.js';
export type { Curve } from './ecdh/index.js';
export type { ECDHKey, EnhancedKey, EnhancedKeyPair, ECDHKeyPair } from './interface.js';
export { keyStretcher } from './key-stretcher.js';

@@ -17,0 +17,0 @@ /**

/**
* @packageDocumentation
*
* **Supported Key Types**
* ## Supported Key Types
*
* The {@link generateKeyPair}, {@link marshalPublicKey}, and {@link marshalPrivateKey} functions accept a string `type` argument.
*
* Currently the `'RSA'`, `'ed25519'`, and `secp256k1` types are supported, although ed25519 and secp256k1 keys support only signing and verification of messages.

@@ -9,0 +7,0 @@ *

{
"name": "@libp2p/crypto",
"version": "5.0.2",
"version": "5.0.3-c258b35af",
"description": "Crypto primitives for libp2p",

@@ -95,3 +95,3 @@ "license": "Apache-2.0 OR MIT",

"dependencies": {
"@libp2p/interface": "^2.1.0",
"@libp2p/interface": "2.1.1-c258b35af",
"@noble/curves": "^1.4.0",

@@ -98,0 +98,0 @@ "@noble/hashes": "^1.4.0",

/**
* @packageDocumentation
*
* **Supported Key Types**
* ## Supported Key Types
*
* The {@link generateKeyPair}, {@link marshalPublicKey}, and {@link marshalPrivateKey} functions accept a string `type` argument.
*
* Currently the `'RSA'`, `'ed25519'`, and `secp256k1` types are supported, although ed25519 and secp256k1 keys support only signing and verification of messages.

@@ -22,2 +20,4 @@ *

export { generateEphemeralKeyPair } from './ecdh/index.js'
export type { Curve } from './ecdh/index.js'
export type { ECDHKey, EnhancedKey, EnhancedKeyPair, ECDHKeyPair } from './interface.js'
export { keyStretcher } from './key-stretcher.js'

@@ -24,0 +24,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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