SlideShare a Scribd company logo
Program Studi Teknik Informatika, Universitas Pamulang
Error Detection
Komponen Komunikasi data :
Transmiter ( Pengirim )
Receiver ( Penerima )
Data ( Pesan )
Media Transmisi ( media pengiriman )
Protocol ( Aturan main )
Masalah apa yang ada pada saat data ditrasnmisikan??
1. Kerahasiaan pesan ( cryptography )
2. Validitas Pesan ( Error detection )
3. Kecepatan Transmisi ( compression )
Error Detection
Tujuan
Mengetahui apakah data yang dikirim melalui saluran
telekomunikasi atau data yang disimpan telah mengalami
perubahan atau tidak
Contoh:
Parity Check
Check Sum
Check Digit
Error Detection
Parity Check
Menambahkan parity bit dari rangkaian bit yang mau
dikirim atau disimpan
10101101  101011011
A = 100 0001 1
Ada 2 metode parity
Even Parity
Odd Parity
Error Detection
Even Parity
Parity bit bernilai 1 bila jumlah bit 1 adalah ganjil
Parity bit bernilai 0 bila jumlah bit 1 adalah genap
10101010  101010100
Odd Parity
Parity bit bernilai 1 bila jumlah bit 1 adalah genap
Parity bit bernilai 0 bila jumlah bit 1adalah ganjil
10101010  101010101
Error Detection
CheckSum
Langkah-langkah pencarian
1. Jumlahkan semua byte
2. Hilangkan carry bila ada
3. Cari two’s complement hasil nomer 2  checksum
Contoh:
Diberikan 4 byte: 0x15, 0x7F, 0x86, 0x5C
1. 0x15 + 0x7F + 0x86 + 0x5C = 0x176
2. 0x176  0x76
3. Two’s complement(0x76) = 0x8A.
Checksum = 0X8A
Error Detection
Error Detection
CheckSum
Cara pengetasan
1. Tambahkan nilai checksum dengan nilai hasil
penjumlahan seluruh byte, hasilnya pasti 0x100
2. Hilangkan carrynya  0x00
Bila hasilnya 0x00, berarti tidak ada perubahan
Bila hasilnya tidak 0x00, berarti telah terjadi
perubahan
Error Detection
Contoh Checksum
Checksum-8  8 bit
Checksum-16  16 bit
Checksum-24  24 bit
Checksum-32  32 bit
Xor8  8 bit
Algoritma Luhn  4 bit
Error Detection
Check Digit
Dipergunakan pada:
 Universal Product Code (UPC)
 ISBN 10
 ISBN 13
 Bank Account Number
 Credit Card Number
 ISSN
 Identity Card
 dll
Error Detection
UPC
Angka terakhir pada UPC adalah check digit
Cara pengecekan UPC
1. Tambahkan angka-angka yang berada di posisi
ganjil, kecuali angka check digit.
2. Hasilnya dikalikan 3, kemudian ditambah dengan
angka-angka yang berada di posisi genap
(termasuk angka check digit)
3. Hasilnya dimodulus dengan 10 dan harus
menghasilkan angka 0
Error Detection
UPC
Contoh: 064200115896
1. 0+4+0+1+5+9 = 19.
2. 19 X 3 = 57
3. 57 + 6 + 2 + 0 + 1 + 8 + 6 = 80
4. 80 mod 10 = 0
Error Detection
ISBN 10
Angka terakhir dari 10 digit ISBN adalah check digit
Cara pengecekan ISBN 10
1. Kalikan setiap angka dengan urutan angka (dihitung
dari kanan)
2. Hasilnya dimodulus 11 dan harus menghasilkan
angka 0
Contoh: ISBN 0-201-53082-1
0x10 + 2x9 + 0x8 + 1x7 + 5x6 + 3x5 + 0x4 + 8x3 + 2x2 + 1x1 = 99
99 mod 11 = 0 
Error Detection
ISSN
Terdiri dari 8 digit dan angka terakhir adalah check digit
Bila check digit menghasilkan angka 10, maka check digit diganti
dengan X
Cara pengecekan ISSN
1. Kalikan setiap angka dengan urutan angka (dihitung dari
kanan)
2. Hasilnya dimodulus 11 dan harus menghasilkan angka 0
Contoh: 0378-5955
0x8 + 3x7 + 7x6 + 8x5 + 5x4 + 9x3 + 5x2 + 5x1 = 165
165 mod 11 = 0 
Error Detection
Credit Card Number
Umumnya terdiri dari 16 digit dan angka terakhir adalah check digit
Cara pengecekan Credit Card Number
1. Angka pada posisi ganjil dikalikan 2 jika hasil 2 digit maka
kedua angka dijumlahkan
2. Hasilnya ditambah dengan angka pada posisi genap
3. Hasilnya dimodulus 10 dan harus
menghasilkan angka 0
Error Detection
THANK YOU
Computer Security

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Keamanan Komputer Pertemuan Ke 6 (1).pptx

  • 1. Program Studi Teknik Informatika, Universitas Pamulang Error Detection
  • 2. Komponen Komunikasi data : Transmiter ( Pengirim ) Receiver ( Penerima ) Data ( Pesan ) Media Transmisi ( media pengiriman ) Protocol ( Aturan main ) Masalah apa yang ada pada saat data ditrasnmisikan?? 1. Kerahasiaan pesan ( cryptography ) 2. Validitas Pesan ( Error detection ) 3. Kecepatan Transmisi ( compression ) Error Detection
  • 3. Tujuan Mengetahui apakah data yang dikirim melalui saluran telekomunikasi atau data yang disimpan telah mengalami perubahan atau tidak Contoh: Parity Check Check Sum Check Digit Error Detection
  • 4. Parity Check Menambahkan parity bit dari rangkaian bit yang mau dikirim atau disimpan 10101101  101011011 A = 100 0001 1 Ada 2 metode parity Even Parity Odd Parity Error Detection
  • 5. Even Parity Parity bit bernilai 1 bila jumlah bit 1 adalah ganjil Parity bit bernilai 0 bila jumlah bit 1 adalah genap 10101010  101010100 Odd Parity Parity bit bernilai 1 bila jumlah bit 1 adalah genap Parity bit bernilai 0 bila jumlah bit 1adalah ganjil 10101010  101010101 Error Detection
  • 6. CheckSum Langkah-langkah pencarian 1. Jumlahkan semua byte 2. Hilangkan carry bila ada 3. Cari two’s complement hasil nomer 2  checksum Contoh: Diberikan 4 byte: 0x15, 0x7F, 0x86, 0x5C 1. 0x15 + 0x7F + 0x86 + 0x5C = 0x176 2. 0x176  0x76 3. Two’s complement(0x76) = 0x8A. Checksum = 0X8A Error Detection
  • 8. CheckSum Cara pengetasan 1. Tambahkan nilai checksum dengan nilai hasil penjumlahan seluruh byte, hasilnya pasti 0x100 2. Hilangkan carrynya  0x00 Bila hasilnya 0x00, berarti tidak ada perubahan Bila hasilnya tidak 0x00, berarti telah terjadi perubahan Error Detection
  • 9. Contoh Checksum Checksum-8  8 bit Checksum-16  16 bit Checksum-24  24 bit Checksum-32  32 bit Xor8  8 bit Algoritma Luhn  4 bit Error Detection
  • 10. Check Digit Dipergunakan pada:  Universal Product Code (UPC)  ISBN 10  ISBN 13  Bank Account Number  Credit Card Number  ISSN  Identity Card  dll Error Detection
  • 11. UPC Angka terakhir pada UPC adalah check digit Cara pengecekan UPC 1. Tambahkan angka-angka yang berada di posisi ganjil, kecuali angka check digit. 2. Hasilnya dikalikan 3, kemudian ditambah dengan angka-angka yang berada di posisi genap (termasuk angka check digit) 3. Hasilnya dimodulus dengan 10 dan harus menghasilkan angka 0 Error Detection
  • 12. UPC Contoh: 064200115896 1. 0+4+0+1+5+9 = 19. 2. 19 X 3 = 57 3. 57 + 6 + 2 + 0 + 1 + 8 + 6 = 80 4. 80 mod 10 = 0 Error Detection
  • 13. ISBN 10 Angka terakhir dari 10 digit ISBN adalah check digit Cara pengecekan ISBN 10 1. Kalikan setiap angka dengan urutan angka (dihitung dari kanan) 2. Hasilnya dimodulus 11 dan harus menghasilkan angka 0 Contoh: ISBN 0-201-53082-1 0x10 + 2x9 + 0x8 + 1x7 + 5x6 + 3x5 + 0x4 + 8x3 + 2x2 + 1x1 = 99 99 mod 11 = 0  Error Detection
  • 14. ISSN Terdiri dari 8 digit dan angka terakhir adalah check digit Bila check digit menghasilkan angka 10, maka check digit diganti dengan X Cara pengecekan ISSN 1. Kalikan setiap angka dengan urutan angka (dihitung dari kanan) 2. Hasilnya dimodulus 11 dan harus menghasilkan angka 0 Contoh: 0378-5955 0x8 + 3x7 + 7x6 + 8x5 + 5x4 + 9x3 + 5x2 + 5x1 = 165 165 mod 11 = 0  Error Detection
  • 15. Credit Card Number Umumnya terdiri dari 16 digit dan angka terakhir adalah check digit Cara pengecekan Credit Card Number 1. Angka pada posisi ganjil dikalikan 2 jika hasil 2 digit maka kedua angka dijumlahkan 2. Hasilnya ditambah dengan angka pada posisi genap 3. Hasilnya dimodulus 10 dan harus menghasilkan angka 0 Error Detection