Exemplo n.º 1
0
 /// <summary>
 /// Full initialization constructor.
 /// </summary>
 /// <param name="plaintextImage">
 /// The image that is to be encrypted.
 /// </param>
 /// <param name="key">
 /// The BioInspiredKey object that is used to encrypt the image.
 /// </param>
 public CellularAutomataEncryptor(
     Bitmap plaintextImage, CellularAutomataKey key)
 {
     PlaintextImage = (Bitmap)plaintextImage.Clone();
     Key            = key.Clone();
 }