Java wrapper around Blst BLS native library from Supranational
repositories {
maven { url "https://artifacts.consensys.net/public/maven/maven/" }
}
dependencies {
dependency "tech.pegasys:jblst:<version>"
}
// Load native library for current platform
JBlst.loadNativeLibrary();
// Generating new private key
scalar sk = new scalar();
blst.keygen(sk, new byte[] {11}, null);