exclusive XOR

patrik patrik@REDACTED
Sun Feb 13 16:48:03 CET 2000


On Sun, 13 Feb 2000, Carin Gustafsson (ETX) wrote:

> Dos anyone know how to do exclusive XOR in Erlang 
> 
> My goal is to encrypt information, store it in Mnesia 
> an on request decrypt an send as a ASCII file, is this 
> possible ? 
> 
> Carin 
> 

Try bxor

(xor@REDACTED)2> (45 bxor 24) bxor 24.
45

/Cheers Patrik.

-- 
Patrik Winroth                          <patrik@REDACTED>
Bluetail AB                             http://www.bluetail.com




More information about the erlang-questions mailing list