Interface Xorer

  • All Known Implementing Classes:
    LogicalXorer

    public interface Xorer
    Interface for various XORer implementations.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean[][] combine​(boolean[][] binaryRaster1, boolean[][] binaryRaster2)
      Creates a new 2D bool array of identical dimensions as provided image or share and one time pad.
    • Method Detail

      • combine

        boolean[][] combine​(boolean[][] binaryRaster1,
                            boolean[][] binaryRaster2)
        Creates a new 2D bool array of identical dimensions as provided image or share and one time pad. The outcome is another 2D boolean array resulting form a logical operation combinaed on every pair of input values at iuneticl position.
        Parameters:
        binaryRaster1 - bool 2D array encoding an image or share
        binaryRaster2 - bool 2D array encoding an image or share
        Returns:
        new 2d bool array representing second visual share.