Atbash

Why Trust Techopedia

What Does Atbash Mean?

Atbash is an ancient type of cryptography that was originally used to encode the Hebrew language by transposing certain letters.

Advertisements

In modern computer programming, atbash and other ciphers are often used for training purposes. New coders may receive an assignment that involves creating an atbash cipher writing program. This challenge helps programmers to consider how a computer can produce this kind of result through careful loop coding with determined variables that will represent the original and final letters.

Techopedia Explains Atbash

In an atbash cipher, the letters of the alphabet are transposed starting with a reversal of the first and last letters, then moving to the next adjacent pair of letters.

Most atbash code programs contain a loop to help the program operate on a fixed set of letters in a particular message or text. Coders may use an array to treat each letter equally and sequentially, using string or numeric variables to identify the original letters and the letters to which they should be changed. One challenge in setting up an atbash code is the numerical representation of characters in ASCII, where the coder may have to write the program to change numbers in a non-sequential way. Another challenge is making sure that the variables, arrays and operators are set up correctly to deal with all incoming characters and avoid run-time issues.

Advertisements

Related Terms

Margaret Rouse
Editor

Margaret jest nagradzaną technical writerką, nauczycielką i wykładowczynią. Jest znana z tego, że potrafi w prostych słowach pzybliżyć złożone pojęcia techniczne słuchaczom ze świata biznesu. Od dwudziestu lat jej definicje pojęć z dziedziny IT są publikowane przez Que w encyklopedii terminów technologicznych, a także cytowane w artykułach ukazujących się w New York Times, w magazynie Time, USA Today, ZDNet, a także w magazynach PC i Discovery. Margaret dołączyła do zespołu Techopedii w roku 2011. Margaret lubi pomagać znaleźć wspólny język specjalistom ze świata biznesu i IT. W swojej pracy, jak sama mówi, buduje mosty między tymi dwiema domenami, w ten…