Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Mark Morgan Lloyd
Chris Crori wrote: Hi gyus, i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i got in Lazarus 1.0 truth is that i didn't have any time to examine and maybe i won't in the next few days so if anyone wants to look

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 09:45, Chris Crori wrote: i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i got in Lazarus 1.0 Some questions: 1) Did you use the same FPC versions? FPC Trunk has had some major changes

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 09:45, Chris Crori wrote: i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i got in Lazarus 1.0 Also as Mark mentioned... Some test code with expected results would be very valuable in debugging

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Reinier Olislagers
On 27/12/2013 13:01, Graeme Geldenhuys wrote: On 2013-12-27 09:45, Chris Crori wrote: i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i got in Lazarus 1.0 Also as Mark mentioned... Some test code with

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Chris Crori
On Fri, 27 Dec 2013 15:35:12 +0200, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Graeme Geldenhuys wrote: On 2013-12-27 09:45, Chris Crori wrote: i use DCPcrypt in my project and found out that the rijndael cipher gives different results in Lazarus 1.2 than the results i

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 12:10, Reinier Olislagers wrote: Especially if those are FPCUnit... pardon FPTest (I suppose) tests ;) Either of those will be great, but just having a few lines of sample code with expected results would also suffice. OT: Graeme, have you read this:

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Reinier Olislagers
On 27/12/2013 19:10, Graeme Geldenhuys wrote: On 2013-12-27 12:10, Reinier Olislagers wrote: Especially if those are FPCUnit... pardon FPTest (I suppose) tests ;) Either of those will be great, but just having a few lines of sample code with expected results would also suffice. Noticed

Re: [Lazarus] DCPcrypt on Lazarus 1.2

2013-12-27 Thread Graeme Geldenhuys
On 2013-12-27 18:12, Reinier Olislagers wrote: Noticed there's a selftest built into Rijndael, so that's something Ah yes, definitely a start. A set of standard unit tests seems like a good thing to add too. I also see I need to update the project's README file. It's way out of date, and