[Cryptography Team] Re: block-based cipher padding

Ron Teitelbaum Ron at USMedRec.com
Tue Jul 11 16:02:46 UTC 2006


> From: Chris Muller
> Sent: Monday, July 10, 2006 10:30 PM
> 
> Hi Ron,
> 
> To communicate with with external systems you will have to know the
> exact padding scheme they use.  Different systems may use different
> padding schemes so it may be a good idea to factor our padding behavior
> into some sort of pluggable scheme so we can accomodate varying systems
> more easily.

Sounds like a good idea.

> 
> I implemented scheme #2 on page 68 of "Practical Cryptography".  It is
> very simple and I believe I implemented it correctly (test case), so
> the difference in the test results is probably due to your test using a
> different padding scheme.
> 

The tests that I'm running are only one sided tests, they say encrypt this
and your answer should be this.  Since the encryption test didn't assume any
padding the results are different, but only by the padding itself.





More information about the Cryptography mailing list