Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Crypt-XTEA CPAN distribution.

Report information
The Basics
Id: 112019
Status: resolved
Priority: 0/
Queue: Crypt-XTEA

People
Owner: JAHIY [...] cpan.org
Requestors: ATHREEF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Extending Crypt::XTEA to support little endian blocks/keys
Hello, I stumbled upon a protocol (http://tibia.com) that applies the XTEA algorithm on little-endian 32-bit integers instead of the usual big-endian ones as in Crypt::XTEA. I extended Crypt::XTEA with an optional little_endian => 0 parameter. This allows specifying whether to use little endian or not. This doesn't break any existing code. I am not sure what format is appropriate, so I will just copy a web diff view of my changes: https://github.com/a3f/Crypt-XTEA/compare/11f05f30c1fa5524333ee24fa704631f52b60dc4...master I open this ticket after failing to reach you over mail. #perl on Freenode advised me to try here too.
On Sun Feb 14 12:34:59 2016, ATHREEF wrote: Show quoted text
> Hello, > > I stumbled upon a protocol (http://tibia.com) that applies the XTEA > algorithm on little-endian 32-bit integers instead of the usual big- > endian ones as in Crypt::XTEA. > > I extended Crypt::XTEA with an optional little_endian => 0 parameter. > This allows specifying whether to use little endian or not. This > doesn't break any existing code. > > I am not sure what format is appropriate, so I will just copy a web > diff view of my changes: > > https://github.com/a3f/Crypt- > XTEA/compare/11f05f30c1fa5524333ee24fa704631f52b60dc4...master > > I open this ticket after failing to reach you over mail. #perl on > Freenode advised me to try here too.
Good job! Can you fork https://github.com/JaHIY/Crypt-XTEA and give me the pull request?
On Sun Feb 14 21:12:56 2016, JAHIY wrote: Show quoted text
> On Sun Feb 14 12:34:59 2016, ATHREEF wrote:
> > Hello, > > > > I stumbled upon a protocol (http://tibia.com) that applies the XTEA > > algorithm on little-endian 32-bit integers instead of the usual big- > > endian ones as in Crypt::XTEA. > > > > I extended Crypt::XTEA with an optional little_endian => 0 parameter. > > This allows specifying whether to use little endian or not. This > > doesn't break any existing code. > > > > I am not sure what format is appropriate, so I will just copy a web > > diff view of my changes: > > > > https://github.com/a3f/Crypt- > > XTEA/compare/11f05f30c1fa5524333ee24fa704631f52b60dc4...master > > > > I open this ticket after failing to reach you over mail. #perl on > > Freenode advised me to try here too.
> > > Good job! Can you fork https://github.com/JaHIY/Crypt-XTEA and give me > the pull request?
https://github.com/JaHIY/Crypt-XTEA/pull/1
fixed in 0.0107