Revise DEFLATE application to JWE

Issue #39 resolved
Vladimir Dzhuvinov created an issue

Issue submitted via email:


From: Wisgary Torres (XBOX) wisgary.torres@microsoft.com

Anyway - as far as deflate, I found that the inflate stream object in java has a parameter that takes an Inflater object, which if it has a 'nowrap' flag works with my vanilla deflate stuff. See these.

http://docs.oracle.com/javase/1.4.2/docs/api/java/util/zip/Inflater.html#Inflater(boolean) http://docs.oracle.com/javase/1.4.2/docs/api/java/util/zip/InflaterInputStream.html#InflaterInputStream(java.io.InputStream, java.util.zip.Inflater)

Mike Jones claims that it should just be the deflate without the zlib headers and crc checks. Would you agree?

Comments (1)

  1. Log in to comment