Skip to content

GlaSSLess 0.8.0

Choose a tag to compare

@tristantarrant tristantarrant released this 18 Feb 12:57
· 59 commits to main since this release

Highlights

Hybrid Mode for Optimal Performance

This release introduces hybrid mode, which automatically uses the best provider for each operation:

  • JDK for SHA-256/SHA-512, HMAC-SHA256/SHA512, SecureRandom, ML-KEM (where HotSpot intrinsics excel)
  • OpenSSL for ECDH, EdDSA, EC key generation (where native code excels)

Enable with:

glassless.hybrid.enabled=true

Benchmark results show hybrid mode delivers optimal performance:

  • SHA-256: JDK is 5.7x faster
  • HMAC-SHA256: JDK is 9.8x faster
  • ECDH: GlaSSLess is 5.2x faster
  • Ed25519: GlaSSLess is 7.9x faster
  • Mixed workload: Hybrid is 8.4x faster than pure JDK

Hybrid mode is automatically disabled when FIPS mode is active to ensure compliance.

What's Changed

  • Add hybrid mode for optimal performance across operation types
  • Add HybridModeBenchmark for performance comparison
  • Update documentation with hybrid mode configuration and benchmark results

Full Changelog: v0.7.0...v0.8.0