November Happy Hour will be moved to Thursday December 5th.

Reading contents of .epi4 files

Vote:
 
Hello, I have a problem with an epi4 file a customer is trying to import. It complains that a date value must be within a certain interval (the actual value is probably empty or null). I need to view the contents of this epi4 file to investigate further (page type, values etc). What kind of binary format is it using? Is it possible to unpack it and view the contents in clear text? Regards, Christer Bermar
#17770
Jan 17, 2008 9:51
Vote:
 
It seems it's compressed using a ZipStream, but also encrypted using a Rijndael crypto using two particular byte arrays. These are the two byte arrays im refering to: this.a = new byte[] { 250, 0xe2, 0xf3, 0x98, 9, 0xd9, 0x5b, 210, 0xac, 0x79, 0x8e, 0xfc, 0x7d, 0xea, 0x8a, 0xd8 }; this.b = new byte[] { 0xc0, 0x13, 0xf4, 0x99, 0x95, 0x23, 0x8b, 0xc7, 0xf3, 0x9b, 0x2c, 8, 0x76, 0xb6, 0x77, 0x51, 0x55, 4, 7, 0x7e, 0xdd, 0xd1, 8, 0x33, 0x6c, 14, 0x3a, 0x60, 0x86, 0xc2, 0x36, 0xc4 }; I wish I did'nt have to decrypt this myself, but apparently there is no other way.
#18588
Jan 17, 2008 16:13
Vote:
 
Solved it, wrote a small console app to decrypt and extract the contents. If you want a copy, contact me at christer,bermar$valtech,se.
#18589
Jan 18, 2008 11:50
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.