Professional Documents
Culture Documents
lmporL [avaxcrypLoClpher
lmporL [avaxcrypLokeyCeneraLor
publlc class hb
publlc sLaLlc vold maln(SLrlng args) Lhrows LxcepLlon
SLrlng LexL bolm
keyCeneraLor keyCeneraLor keyCeneraLorgeLlnsLance(8lowflsh)
keyCeneraLorlnlL(128)
key key keyCeneraLorgeneraLekey()
Clpher clpher ClphergeLlnsLance(8lowflsh/LC8/kCS3addlng)
clpherlnlL(ClpherLnC8?1_MCuL key)
byLe clpherLexL clpherdollnal(LexLgeL8yLes(u1l8))
for (lnL l 0 l clpherLexLlengLh l++)
SysLemouLprlnL(clpherLexLl + )
clpherlnlL(ClpheruLC8?1_MCuL key)
byLe decrypLed1exL clpherdollnal(clpherLexL)
SysLemouLprlnLln(new SLrlng(decrypLed1exL u1l8))