ECB1 Vs ECB2

126 views
Skip to first unread message

Roy Fridman

unread,
Sep 8, 2014, 3:48:57 AM9/8/14
to cryptop...@googlegroups.com
hi,

can someone please tell me which of the two flavors crypto++ support?

where can i find any documentation that distinguishes between AES-ECB1 and AES-ECB2?

thanks,

Jean-Pierre Münch

unread,
Sep 8, 2014, 6:35:35 AM9/8/14
to cryptop...@googlegroups.com
hi,

can you please tell me where you found "AES-ECB1" and "AES-ECB2" as I never heard before of this two modes.
But I can tell you already now, that crypto++ supports AES-ECB although it's ABSOLUTELY NOT RECOMMENDED.
You can access it via ECB<AES>::Encryption Encryptor(Key,Keylength).
Of course you must specify using namespace CryptoPP before or you have to add CryptoPP:: in front of the ECB and AES.

BR

JPM


Jeffrey Walton

unread,
Sep 9, 2014, 5:03:55 AM9/9/14
to cryptop...@googlegroups.com


On Monday, September 8, 2014 3:48:57 AM UTC-4, Roy Fridman wrote:
can someone please tell me which of the two flavors crypto++ support?

where can i find any documentation that distinguishes between AES-ECB1 and AES-ECB2?
See Section 6.1, Electronic Codebook Mode, of NIST SP 800-38a. http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf

There's other references, too, like FIPS Publication 8 and ANSI 9.52. But they are consistent with each other.

Jeff

Mouse

unread,
Sep 9, 2014, 8:48:14 AM9/9/14
to Jeffrey Walton, Crypto++ Users
Please be so kind to provide page reference in the NIST document http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf, where it describes ECB1, ECB2, and the difference between them.

I seem to be able to find there only AES-ECB - but not ECB1, nor ECB2. Section 6.1 that you mentioned, defines "normal" ECB.

--
--
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-user...@googlegroups.com.
More information about Crypto++ and this group is available at http://www.cryptopp.com.
---
You received this message because you are subscribed to the Google Groups "Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Regards,
Mouse

Jeffrey Walton

unread,
Sep 9, 2014, 8:58:25 AM9/9/14
to cryptop...@googlegroups.com, nolo...@gmail.com, mous...@gmail.com


On Tuesday, September 9, 2014 8:48:14 AM UTC-4, Mouse wrote:
Please be so kind to provide page reference in the NIST document http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf, where it describes ECB1, ECB2, and the difference between them.
 Oh, my bad. I was only providing references to ECB mode. Roy will have to figure out what he has.

I know nothing about those other modes. I don't ever recall reading about them.

Jeff

Mouse

unread,
Sep 9, 2014, 1:09:30 PM9/9/14
to Jeffrey Walton, Crypto++ Users
FWIW and AFAIK, there is only one ECB mode, which - as Jeffrey mentioned - is defined in the NIST SP800-38a publication.

I personally suspect ECB1 & ECB2 are both BS, regardless of the block cipher used with it.
--
Regards,
Mouse

Reply all
Reply to author
Forward
0 new messages