Skip to content

Consensys/jblst

Repository files navigation

jblst

Build Status Latest version of 'jblst' @ Cloudsmith

Java wrapper around Blst BLS native library from Supranational

Dependency

repositories {
  maven { url "https://artifacts.consensys.net/public/maven/maven/" }
}
dependencies {
  dependency "tech.pegasys:jblst:<version>"
}

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
  • aarch64
    • Linux
    • MacOS