Embed File Browse File Stego

3. 1. 5. 5. Class Diagram

Class adalah sebuah spesifikasi yang jika diinstansiasi akan menghasilkan sebuah objek dan merupakan inti dari pengembangan dan desain berorientasi objek. Class menggambarkan keadaan atributproperti suatu sistem, sekaligus menawarkan layanan untuk memanipulasi keadaan tersebut metodafungsi. Berikut class diagram yang terbentuk pada perangkat lunak steganografi dan digital signature. Gambar 3. 26 Class Diagram

3. 2. Perancangan Sistem

Perancangan merupakan tahap lanjutan dari analisis sistem dimana pada perancangan sistem digambarkan rancangan sistem yang akan dibangun sebelum dilakukan pengkodean kedalam suatu bahasa pemograman. Dalam perancangan sistem tidak lepas dari hasil analisis, karena dari hasil analisis sistem baru dapat dibuat suatu perancangan sistem. DSASignat ure + Signat ure: byt e + dat a: byt e -Privat eKey: Key + PublicKey: Cust omDSAPublicKey + s: St ring + Generat eKeyPair + init SignDat aPrivat eKey: DSASignat ure + Updat eSignDat adat a: byt e + SignDat a + I nit Verif yPublicKey: Cust omDSAPublicKey + Updat eVerif ydat a: byt e + Verif ySignat ureSignat ure: byt e[ ] + Byt eArrToHexSt rdat a: byt e[ ] + HexSt rToByt eArrs: St ring Cust om DSAPublicKey + p: BigI nt eger + q: BigI nt eger + g: BigI nt eger + y: BigI nt eger + PublicKey: Key + Set Valuep: BigI nt eger, q: BigI nt eger, g: BigI nt eger, y: BigI nt eger + Set KeyPublicKey + Get P + Get Q + Get G + Get Y + Get PublicKey St eganografi + St at us: Long + Finish: Long + Changed: Long File_Name_Lengt h: I nt eger = 20 + FileName: St ring + St opped: Boolean + Parent : File + Child: File + Result : File + Signat ure: Byt e[ ] + Key: Cust omDSAPublicKey + Lengt h: Long + Byt eLengt h: I nt eger + EmbedFileParent : File, Child: File, Result : File, Signat ure: Byt e[ ] , Key: Cust omDSAPublicKey + Ext ract FileParent : File, Result : File, Signat ure: Byt e[ ] , Key: Cust omDSAPublicKey EmbedByt eParent : Byt e[ ] , Child: Byt e Ext ract Byt eParent : Byt e[ ] + LongToByt eLengt h: Long, Byt eLengt h: I nt eger + Byt eToLongLengt h: Byt e[ ] , Byt eLengt h: I nt eger SubFileNameFileName: St ring I m ageSt eganografi + Parent : File + Child + Result : File + Signat ure: Byt e[ ] + Key: Cust omDSAPublicKey + Pixels: I nt eger[ ] [ ] + Point er: I nt eger + File: File + EmbedFileParent : File, Child: File, Result : File, Signat ure: Byt e[ ] , Key: Cust omDSAPublicKey + Ext ract FileParent : File, Result : File, Signat ure: Byt e[ ] , Key: Cust omDSAPublicKey EmbedByt ePixels: I nt eger [ ] [ ] , Child: Byt e, Point er: I nt eger Ext ract Byt ePixels: I nt eger [ ] [ ] , Point er: I nt eger + I sI mageFileFile: File 1 1 1 1 1 . . 1 1 . . 1 1 . . 1 1 1 1 1 . . 1 . . 1 1 1 . . 1 . . I nt erface -DSA: DSASignat ure -priKey: DSAPrivat eKey -pubKey: Cust omDSAPublicKey -Generat eKey -BrowseChild -Generat eSignat ure -BrowseParent -Embed -OpenFile -Reset -BrowseSt ego -Ext ract File -Verif y -FinishEmbed -FinishExt ract -ShowMessage -SizeToSt ring -PaddingHexSt r Desain umum yang akan diaplikasikan bertujuan untuk memberikan gambaran secara umum kepada penggunaan tentang sistem yang akan dibangun.

3. 2. 1. Perancangan Struktur File

File hasil embed memiliki struktur yang berbeda dengan file aslinya, karena file hasil embed telah disisipkan file dan parameter-parameter yang dibutuhkan pada saat proses ekstraksi nanti. Berikut adalah struktur file yang tercipta setelah proses embed dilakukan. Gambar 3. 27 Perancangan Struktur File