Skip to content

Files

Latest commit

6fa6f5d · Sep 15, 2020

History

History
39 lines (30 loc) · 620 Bytes

README.md

File metadata and controls

39 lines (30 loc) · 620 Bytes

jblst

Java wrapper around Blst BLS native library from Supranational https://github.com/supranational/blst

Dependency

<dependency>
  <groupId>tech.pegasys</groupId>
  <artifactId>jblst</artifactId>
  <version>0.2.0-RELEASE</version>
  <type>pom</type>
</dependency>

Minimal sample

// Load native library for current platform
JBlst.loadNativeLibrary();
    
// Generating new private key
scalar sk = new scalar();
blst.keygen(sk, new byte[] {11}, null);

Supported platforms

  • x86-64
    • Windows
    • Linux
    • MacOS
  • ARMv8
    • Linux