-------- Original-Nachricht --------
> Datum: Fri, 4 Sep 2009 22:16:05 +0900
> Von: Diego Bernardes <di3go.bernardes / gmail.com>
> An: ruby-talk / ruby-lang.org
> Betreff: XTEA Cryptography Algorithm

> Some one know if ruby has any implementation of XTEA algorithm?
> 
> I have a hardware connect on a serial port that uses this cryptography.
> -- 
> Posted via http://www.ruby-forum.com/.

Dear Diego,

you could easily adapt the C code given on the Wikipedia page.
Ruby supports bit-level operations on numbers, and the operator symbols for those operations are the same as in C ...
or you could use ffi (http://blog.headius.com/2008/10/ffi-for-ruby-now-available.html) to use Ruby to wrap the C code given there right away.

Best regards,

Axel 

-- 
GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01