Tuesday 6 January 2015

JavaScript XOR Hexadecimal App!

This is a simple JavaScript application that can XOR Hexadecimals (Hex), 2 characters at a time. The output is in 2 digits, meaning that "0" is written as "00".
Hope it helps!

XOR: Exclusive disjunction or exclusive or is a logical operation that outputs true whenever both inputs differ (one is true, the other is false). It is symbolized by infix operator XOR. (Read more at: Wikipedia: XOR)

Hexadecimal: Base 16 numbers, using symbols 0–9 to represent values zero to nine, and A,B,C,D,E,F (or alternatively a–f) to represent values ten to fifteen. (Wikipedia: Hexadecimal)

Input 1:


Input 2:


Output:




Featured Book:

A Smarter Way to Learn JavaScript: The new approach that uses technology to cut your effort in half

No comments:

Post a Comment