Mat
One more shot in the dark - after encrypting can you replace all CHR(0) with some other chr, using CHRTRAN(), and then reverse that before decrypting your string? In this way the null's are replaced for the purposes of storing into binary char fields.
Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.