SqrtRatioCalculator (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.crypto.hash2curve

## Interface SqrtRatioCalculator

- All Known Implementing Classes:
    GenericSqrtRatioCalculator

      public interface SqrtRatioCalculator

  Interface for a calculator of SqrtRatio

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `SqrtRatio` | `sqrtRatio(java.math.BigInteger u, java.math.BigInteger v)` he sqrtRatio subroutine of hash2Curve in the field F

- - ### Method Detail

    - #### sqrtRatio

          SqrtRatio sqrtRatio(java.math.BigInteger u,
                              java.math.BigInteger v)

      he sqrtRatio subroutine of hash2Curve in the field F
      Parameters:
        `u` - u parameter, element of F
        `v` - v parameter, element of F, such that v != 0
      Returns:
        SqrtRatio result