Tampilkan postingan dengan label IT. Tampilkan semua postingan
Tampilkan postingan dengan label IT. Tampilkan semua postingan

Sabtu, 04 April 2015

Contoh Algoritma RSA

##########################################################################
Jika diketahui :
p = 3
q = 7

Penyelesaian :
n = p.q
   = 3 x 7
   = 21
m = (p-1) (q-1)
     = (3 -1)(7 – 1)
     = 12
e * d mod 12 = 1 (Cari bilangan prima yang jika mod M hasilnya 1)
e = 5
d = 17
public key = (e,n) = (5,21)
private key = (d,n) = (17,21)

S          I           S          J          A         R
83        73        83        74       65         82

##########################################################################


Proses Enkripsi dan Deskripsi
S = 83
Enkripsi
Deskripsi
C = M ^ e mod n
M = C ^  d mod n
8 ^ 5 mod 21 = 8
8 ^ 17 mod 21 = 8
3 ^ 5 mod 21 = 12
12 ^ 17 mod 21 = 3
 
I = 73
Enkripsi
Deskripsi
C = M ^ e mod n
M = C ^  d mod n
7 ^ 5 mod 21 = 7
7 ^ 17 mod 21 = 7
3 ^ 5 mod 21 = 12
12 ^ 17 mod 21 = 3


S = 83
Enkripsi
Deskripsi
C = M ^ e mod n
M = C ^  d mod n
8 ^ 5 mod 21 = 8
8 ^ 17 mod 21 = 8
3 ^ 5 mod 21 = 12
12 ^ 17 mod 21 = 3

J = 74
Enkripsi
Deskripsi
C = M ^ e mod n
M = C ^  d mod n
7 ^ 5 mod 21 = 7
7 ^ 17 mod 21 = 7
4 ^ 5 mod 21 = 16
16 ^ 17 mod 21 = 4

A = 64
Enkripsi
Deskripsi
C = M ^ e mod n
M = C ^  d mod n
6 ^ 5 mod 21 = 6
6 ^ 17 mod 21 = 6
4 ^ 5 mod 21 = 16
16 ^ 17 mod 21 = 4


R = 82

Enkripsi
Deskripsi
C = M ^ e mod n
M = C ^  d mod n
8 ^ 5 mod 21 = 8
8 ^ 17 mod 21 = 8
2 ^ 5 mod 21 = 11
11 ^ 17 mod 21 = 2

Sabtu, 29 Oktober 2011

Sismul Pertemuan 4 dan Aplikasi Picture Viewer

Berikut adalah program picture viewer pada pertemuan 4, download dan coba jalankan, untuk password sama dengan password sebelumnya, waktu download file ini adalah 2 minggu dari postingan ini dibuat silahkan download aplikasi dan modul nya dibawah :
Download Modul dan Aplikasi disini


Regards

Dw

Sabtu, 27 Februari 2010

Menambahkan Index Pada SQL Server 2000 / Add Index on SQL Server 2000

Langkahnya :

1. Buka SQL Server Enterprise Manager, Start - Microsoft SQL Server - Enterprise Manager



2. Buka Database anda



3. Pilih table yang ingin anda berikan index



4. Lalu klik kanan field pada table, pilih Manage Index



5. Tambahkan pada setiap field, dengan mengklik field pada column name.

Minggu, 10 Januari 2010

Install XP ke HardDisk External

Creating the Windows XP Boot Image
1.
Step 1

Set your BIOS so that USB booting is enabled. (Your BIOS must support boot from USB.) Connect the USB external hard drive directly to your computer.
2.
Step 2

Make an ISO image (an .iso file is an archive disk image of an optical disk) from the Windows XP CD-ROM using your preferred software. Save to your hard drive.
3.
Step 3

Open the ISO file you just created. Navigate to the I386 folder, and select the following files:
TXTSETUP.SIF, DOSNET.INF, USB.IN_, USBPORT.IN_, and USBSTOR.IN_.
Extract the files and put them into a folder to work with.
4.
Step 4

Open a command prompt and use Cab SDK to extract the contents of the .IN_ files; Cab SDK is a Microsoft compression and decompression program available as an .exe file in your Windows directory. Each of the .IN_ files contains exactly one .inf file. An example command line would be: "cabarc x USBSTOR.IN_" . You should end up with three new files in the folder, called usb.inf, usbport.inf and usbstor.inf. Delete the .IN_ files.
5.
Step 5

Open the files using a simple text editor such as Notepad. Edit them according to the section below titled "Editing Files."
6.
Step 6

Open the previously created ISO file and delete the files you extracted earlier. Replace them with the newly modified files.
7.
Step 7

Save the ISO files and burn them to a CD using the burning software of your choice.
8.
Step 8

Insert the CD you created and restart the computer. Make sure it is set to boot from CD. Most computers will do this automatically, but if not, hit F8 on startup to choose boot options. When asked, choose the external USB hard drive to install WIndows XP.
Editing Files
9.
Step 1

Open TXTSETUP.SIF and move the following entries from [InputDevicesSupport.Load] to the [BootBusExtenders.Load]:
usbehci = usbehci.sys
usbohci = usbohci.sys
usbuhci = usbuhci.sys
usbhub = usbhub.sys
usbstor = usbstor.sys
10.
Step 2

Move the following entries from [InputDevicesSupport] to [BootBusExtenders]:
usbehci = "Erweiterter Hostcontroller",files.usbehci,usbehci
usbohci = "Open Hostcontroller",files.usbohci,usbohci
usbuhci = "Universeller Hostcontroller",files.usbuhci,usbuhci
usbhub = "Standard-USB-Hubtreiber",files.usbhub,usbhub
usbstor = "USB-Speicherklassentreiber",files.usbstor,usbstor
11.
Step 3

Insert the following in the [HiveInfs.Fresh] section:
AddReg = hivedef.inf,AddReg
AddReg = hivesys.inf,AddReg
AddReg = hivesft.inf,AddReg
AddReg = hivecls.inf,AddReg
AddReg = hiveusd.inf,AddReg
AddReg = dmreg.inf,DM.AddReg
AddReg = usbboot.inf,usbservices

Insert the following commands into the [SourceDisksFiles] section:

[SourceDisksFiles]
usbboot.inf = 1,,,,,,_x,3,,3
bootvid.dll = 1,,,,,,3_,2,0,0,,1,2
kdcom.dll = 1,,,,,,3_,2,0,0,,1,2
12.
Step 4

Open DOSNET.INF and change the second [Files] section to look like this:
[Files]
d1,usbboot.inf
d1,_default.pif
d1,12520437.cpx
d1,12520850.cpx
13.
Step 5

Open USB.INF and change lines in the [StandardHub.AddService] and [CommonClassParent.AddService] sections to look like this:

[StandardHub.AddService]
DisplayName = %StandardHub.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub.sys
LoadOrderGroup = Boot Bus Extender

[CommonClassParent.AddService]
DisplayName = %GenericParent.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbccgp.sys
LoadOrderGroup = Boot Bus Extender
14.
Step 6

Open usbport.inf and change lines in the [EHCI.AddService], [OHCI.AddService] , [UHCI.AddService] and [ROOTHUB.AddService] sections to look like this:

[EHCI.AddService]
DisplayName = %EHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbehci.sys
LoadOrderGroup = Boot Bus Extender

[OHCI.AddService]
DisplayName = %OHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbohci.sys
LoadOrderGroup = Boot Bus Extender

[UHCI.AddService]
DisplayName = %UHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbuhci.sys
LoadOrderGroup = Boot Bus Extender

[ROOTHUB.AddService]
DisplayName = %ROOTHUB.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub.sys
LoadOrderGroup = Boot Bus Extender
15.
Step 7

Open usbstore.inf and change lines in the [USBSTOR.AddService] section to look like this:

[USBSTOR.AddService]
DisplayName = %USBSTOR.SvcDesc%
ServiceType = 1
StartType = 0
Tag = 3
ErrorControl = 1
ServiceBinary = %12%\USBSTOR.SYS
LoadOrderGroup = Boot Bus Extender
16.
Step 8

Create a new file called USBBOOT.INF in the same directory as the other modified files, and paste the following content into it:
[usbservices]

HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","DisplayName",0x00000000,"USB Mass Storage Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","ImagePath",0x00020000,"system32\DRIVERS\USBSTOR.SYS"
HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","Type",0x00010001,1

HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","DisplayName",0x00000000,"USB 2.0 Enhanced Host Controller Miniport Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","ImagePath",0x00020000,"system32\DRIVERS\usbehci.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","Type",0x00010001,1

HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","DisplayName",0x00000000,"USB2 Enabled Hub"
HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","ImagePath",0x00020000,"system32\DRIVERS\usbhub.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","Type",0x00010001,1

HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","DisplayName",0x00000000,"Microsoft USB Universal Host Controller Miniport Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","ImagePath",0x00020000,"system32\DRIVERS\usbuhci.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","Type",0x00010001,1

HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","DisplayName",0x00000000,"Microsoft USB Open Host Controller Miniport Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","ImagePath",0x00020000,"system32\DRIVERS\usbohci.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","Type",0x00010001,1
17.
Step 9

Delete your original extracted .IN_ files. Open the command prompt and navigate to the folder with your changed files. Execute these commands to repack the files:
cabarc n USB.IN_ usb.inf
cabarc n USBPORT.IN_ usbport.inf
cabarc n USBSTOR.IN_ usbstor.inf

The three IN_ files should now exist again. Return to Step 6 above to complete.

Ads by Google
Media Center Guide
Build your own home theater media center quickly and easily!
www.media-center-guide.com

Top External Hard Drives
Compare Prices & Save - Shop Smart! Compare 100's of External Drives.
PCWorld.com

Online Hard Drive
1GB Free - Secure Online Storage. Consumer Guide 'Best Buy' Web Site!
FilesAnywhere.com

USB Disk On Module
Hi-Speed Solid State Hard Disk USB for Embedded Systems. USB DOM
www.MemoryDepot.com/USBDisk

Senin, 26 Januari 2009

Simulasi Retina Scanner

Tugas Rancangan sistem Komputer Mata Kuliah SKK,buat kelompok untuk tugas Kuliah pengganti UAS...Duuh,dapat nilainya berapa ya..Program ini sih sebenarnya disimulasikan untuk seseoran dapat memasuki ruangan dengan cara menScan retina matanya kalau di Dubai istilahnya Retina Scanner..Yah disitu ide yang didapat untuk membuat simulasi yang sederhana ini.Mudah-mudahan dapat dikembangkan diindonesia .
Banyak yang dapat dikembangkan dari sistem ini , dari simulasi masuk rumah,kantor,bandara,hotel,apartemen,pesawat dan lain-lain.
DownloadProgram

Cara Menjalankan :
0-> Copy kan program ini ke Directory C:/
0-> Jalankan Eye Detection Simulation.exe

Program menyalakan lampu Client Server

Program menyalakan lampu Client Server
Program ini dibuat menggunakan VB.6 , karena ada tugas dari dosen...Program ini yang lumayan simple and gampang,diedit dan dibuild up lagi. Have nice job.. DownloadProgram

Cara menggunakan :

-> Jalankan LEDClient.exe dan LEDServer.exe
-> Kemudian klik tombol connect di LEDCLient.exe
-> Klik tombol X dan Y untuk mematikan lampu dan menyalakan lampu.