Mod (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.math.raw

## Class Mod

- java.lang.Object
- - org.bouncycastle.math.raw.Mod

-     public abstract class Mod
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Mod()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `add(int[] p, int[] x, int[] y, int[] z)`
    `static int` | `inverse32(int d)`
    `static void` | `invert(int[] p, int[] x, int[] z)`
    `static int[]` | `random(int[] p)`
    `static void` | `subtract(int[] p, int[] x, int[] y, int[] z)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Mod

          public Mod()

  - ### Method Detail

    - #### inverse32

          public static int inverse32(int d)

    - #### invert

          public static void invert(int[] p,
                    int[] x,
                    int[] z)

    - #### random

          public static int[] random(int[] p)

    - #### add

          public static void add(int[] p,
                 int[] x,
                 int[] y,
                 int[] z)

    - #### subtract

          public static void subtract(int[] p,
                      int[] x,
                      int[] y,
                      int[] z)