W3C home > Mailing lists > Public > public-webcrypto@w3.org > September 2012

Re: Support for ECB

From: Zooko Wilcox-OHearn <zooko@leastauthority.com>
Date: Mon, 10 Sep 2012 12:39:59 -0600
Message-ID: <CAM_a8Jx25uAagNhQsYVbFPLzts4-9jfXD_078o8j0LDk-ewAFA@mail.gmail.com>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>
Cc: Wan-Teh Chang <wtc@google.com>, "public-webcrypto@w3.org" <public-webcrypto@w3.org>
I don't want to encourage people who know no better to pick ECB mode
from a list of modes.

But I do want to have access to a naked AES function for uses that
aren't satisfied by any modes.

Why not include a naked AES function, but don't list it among the
optional modes and don't call it "ECB mode"? Call it "bare_AES" and
specify it to raise an exception unless the data input is exactly one
block long.

Regards,

Zooko
Received on Monday, 10 September 2012 18:40:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 10 September 2012 18:40:28 GMT