Help with assertion encryption ?

Cantor, Scott cantor.2 at osu.edu
Tue May 20 18:06:37 EDT 2014


On 5/20/14, 8:52 PM, "Brent Putman" <putmanb at georgetown.edu> wrote:
>
>When I get into the office, I'll test where I have a Java 8 environment,
>but I suspect it will show that Java 8's AES GCM support requires an IV
>of 128 bits.  I don't know off-hand what the correct IV size(s) for AES
>GCM are, have to go do some reading.  Maybe Scott or Ian knows.

For XML Encryption, it's 96.

Relevant text:

"For the purposes of this specification, AES-GCM shall be used with a
            96 bit Initialization Vector (IV) and a 128 bit Authentication
Tag
            (T). The cipher text contains the IV first, followed by the
encrypted
            octets and finally the Authentication tag. No padding should
be used
            during encryption."

-- Scott




More information about the dev mailing list