10.07.2015 Views

MyCERT 3rd Quarter 2011 Summary Report - CyberSAFE Malaysia

MyCERT 3rd Quarter 2011 Summary Report - CyberSAFE Malaysia

MyCERT 3rd Quarter 2011 Summary Report - CyberSAFE Malaysia

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Mathematics Operations in BinaryNumeral System27BY | Abdul Alif Bin ZakariaIntroductionCryptography is one of the most importantaspects in the Information Security arena.It is the practice and study of techniquesfor secure communications in the presenceof third parties. Communications overuntrusted networks can be carried out withencryption which is the conversation froma readable state to an unreadable state. Theopposite of encryption is decryption whichis converting an apparent nonsense state toa readable state.Designing a strong cryptographic algorithmhas never been easy these days becausepeople are getting smarter and technologyis progressing rapidly. One of the mostimportant tools in designing cryptographicalgorithms such as DES and AES is theapplication of binary number system. Thisnumber system would complicate anyefforts to break the algorithm. Although itis still possible to break the algorithm, atleast it will delay the efforts to do so.There are many types of number systemswhich are decimal (base-10), hexadecimal(base-8), and binary. Not many of us arefamiliar and understand the foundation ofbinary number systems. Therefore, a binarynumber system is the main topic that willbe discussed in this article because of itsimportance in many applications comparedto other number systems. Binary numeralsystems are also well known as base-2number systems. Unlike decimal numberswhich include every single number from0, 1, 2… to infinite, this system is onlyrepresented by the numbers “0” and “1”.Number “1” represents yes, agree or positive.Number “0”, on the other hand, representsno, disagree or negative, depending onhow we define it. Binary numeral systemsare used in most modern computers it ispopularly known as “bit”. Besides usingbinary in computing, it also has been widelyused in the science and mathematics fields.Due to its flexibleness, further explanationon how to utilise binary numeral systemsin mathematical operations will be discusslater.Differences Between Decimaland BinaryDecimal and binary number systems are twodifferent types of number systems but canoperate in similar mathematical operationtechniques. The difference between thesetwo number systems is the digits thatthey use. Decimal number uses digits “0”to “9” while binary number uses digits “0”and “1”. These two number systems applythe same method to determine the largestand the smallest value by looking at theposition of columns of each digit. “Carry”method is applied in both number systemsif each digit value increases when it reachesthe maximum value in each column.Decimal Number SystemDecimal numbers known as integers canuse the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8,or 9 in each digit. For numbers containingmore than one digit (e.g. 47 and 13), digitsequence is actually separated by columndepending on the total of digits of the saidnumber. Smallest-value column is located atthe end of the column to the right while thelargest value is located at the far left. Thevalues of the sequence are 100, 101, 102,103, 10n where it reads from right to left.Table 1 shows values of each column andits decimal form.e-Security | Cyber Security <strong>Malaysia</strong> | Vol: 28-(Q3/<strong>2011</strong>)© CyberSecurity <strong>Malaysia</strong> <strong>2011</strong> - All Rights Reserved

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!