org.bouncycastle.crypto.hash2curve.impl (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

# Package org.bouncycastle.crypto.hash2curve.impl

- Class Summary
  Class | Description
  --- | ---
  BLS12_381G1CurveProcessor | CurveProcessor for the BLS12381G1_XMD:SHA-256_SSWU_RO_ hash-to-curve suite.
  BLS12_381G1MapToCurve | Map-to-curve implementation for the BLS12381G1_XMD:SHA-256_SSWU_RO_ suite (RFC 9380 sec. 8.8.1).
  Elligator2MapToCurve | Implements the Elligator 2 Map to curve according to section 6.7.1 of RFC 9380 This is the straight-line implementation optimized for Montgomery curves as defined in section F.3.
  GenericSqrtRatioCalculator | Generic implementation of the sqrt_ratio(u, v) operation defined in RFC 9380.
  MontgomeryCurveProcessor | Curve processor for Montgomery curves of the form B * y^2 = x^3 + A * x^2 + x Internally we treat this as a long Weierstrass curve y^2 = x^3 + a2 * x^2 + a4 * x + a6 with a2 = A / B, a4 = 1 / B, a6 = 0.
  NistCurveProcessor | Curve processor for NIST curves (P-256, P-384, P-521) where the cofactor is 1.
  SimplifiedShallueVanDeWoestijneMapToCurve | Implements the Simplified Shallue van de Woestijne Map to curve according to section 6.6.2 of RFC 9380 This is the straight-line implementation optimized for Weierstrass curves as defined in section F.2.
  SqrtRatio | The result of a sqrt_ratio calculation
  XmdMessageExpansion | XmdMessageExpansion is an implementation of the MessageExpansion interface, used to expand a given message to a specified length in bytes while following cryptographic domain separation principles.