Sign up ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

What do the symbols and mean? I'm trying to understand them to make an app.

It's on

share|improve this question
From the context it is obvious that the squared + is simply an addition. –  SK-logic Mar 13 '11 at 16:54
There's some reference code here, but the single letter variables are giving me a headache. Why does crypto code always look evil to me? –  Kevin Jan 12 at 15:18

1 Answer 1

up vote 5 down vote accepted

I know for a fact that ⊕ means XOR, or eXclusive OR. With the variables A and B, Normal OR will return true if

  • A=true and b=false
  • A=false and B=true
  • A=true and B=true

XOR on the other hand returns true only if

  • A=false and B=true
  • A=true and B=false

I'm not too sure about ⊞ though. In Unicode its under "SQUARED PLUS", but I don't know how that works in an algorithm

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.