C# Class PNGMask.XOR

Inheritance: SteganographyProvider
Show file Open project: AlphaDelta/PNG-Mask

Protected Properties

Property Type Description
image PNG
key byte[]
rnd ISAAC

Public Methods

Method Description
ExtractData ( ) : byte[]
ImprintData ( byte data ) : void
ProcessData ( byte s, bool find = true ) : void
WriteToStream ( Stream s ) : void
XOR ( ) : System
XOR ( PNG pngvector, bool find = true ) : System
XOR ( Stream svector, bool find = true ) : System
XOR ( byte bvector, bool find = true ) : System
XOR ( string fvector, bool find = true ) : System

Protected Methods

Method Description
ImprintPNG ( byte data ) : void
PrepareKey ( byte pass ) : void

Method Details

ExtractData() public method

public ExtractData ( ) : byte[]
return byte[]

ImprintData() public method

public ImprintData ( byte data ) : void
data byte
return void

ImprintPNG() protected abstract method

protected abstract ImprintPNG ( byte data ) : void
data byte
return void

PrepareKey() protected method

protected PrepareKey ( byte pass ) : void
pass byte
return void

ProcessData() public method

public ProcessData ( byte s, bool find = true ) : void
s byte
find bool
return void

WriteToStream() public method

public WriteToStream ( Stream s ) : void
s Stream
return void

XOR() public method

public XOR ( ) : System
return System

XOR() public method

public XOR ( PNG pngvector, bool find = true ) : System
pngvector PNG
find bool
return System

XOR() public method

public XOR ( Stream svector, bool find = true ) : System
svector Stream
find bool
return System

XOR() public method

public XOR ( byte bvector, bool find = true ) : System
bvector byte
find bool
return System

XOR() public method

public XOR ( string fvector, bool find = true ) : System
fvector string
find bool
return System

Property Details

image protected property

protected PNG,PNGMask image
return PNG

key protected property

protected byte[] key
return byte[]

rnd protected property

protected ISAAC,PNGMask rnd
return ISAAC