Socket
Socket
Sign inDemoInstall

@noble/bls12-381

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

3

index.d.ts

@@ -56,3 +56,4 @@ /*! noble-bls12-381 - MIT License (c) Paul Miller (paulmillr.com) */

declare type G2Hex = Bytes | PointG2;
export declare function getPublicKey(privateKey: PrivateKey): Uint8Array | string;
export declare function getPublicKey(privateKey: Uint8Array | bigint): Uint8Array;
export declare function getPublicKey(privateKey: string): string;
export declare function sign(message: Uint8Array, privateKey: PrivateKey): Promise<Uint8Array>;

@@ -59,0 +60,0 @@ export declare function sign(message: string, privateKey: PrivateKey): Promise<string>;

{
"name": "@noble/bls12-381",
"version": "1.0.1",
"version": "1.0.2",
"description": "Fastest JS implementation of BLS12-381. Auditable, secure, 0-dependency aggregated signatures & pairings",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc