Package eu.kartoffelquadrat.visucrypt
Class LogicalXorer
- java.lang.Object
-
- eu.kartoffelquadrat.visucrypt.LogicalXorer
-
-
Constructor Summary
Constructors Constructor Description LogicalXorer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean[][]
combine(boolean[][] original, boolean[][] oneTimePad)
Creates a new 2D bool array of identical dimensions as provided image and one time pad, which serves as second share.
-
-
-
Method Detail
-
combine
public boolean[][] combine(boolean[][] original, boolean[][] oneTimePad)
Creates a new 2D bool array of identical dimensions as provided image and one time pad, which serves as second share. The second share is the XOR combination of original image and first share (one time pad).
-
-