The Security libraries in VW 7.4 have been cleaned up a lot - but some of that might affect backward compatibility. This server is still running on VW 7.1, for instance - I had to do a small bit of work (with Martin's help) to get things to interoperate between the two.
Back in 7.3 and prior versions, here's how I encrypted a string using DES:
des := DES new.
cypher := des encrypt: plain with: key.
Now, in 7.4, there's been an API change. The #encrypt:with: method no longer exists. So it looked like all I had to do was this:
des := DES newBP_ECB.
des setKey: key asBigEndianByteArray.
cypher := des encrypt: plain asByteArray.
However, there was another change that this didn't account for. When the Security libraries first came in, they were rushed out the door - the code was hard to follow, and there were other issues. That's cleaned up in 7.4, but it was smacking me in the head for backwards compatibility. After a conversation with Martin, it turned out that the padding scheme used in 7.4 was correct, and that older versions had used something else. To get it to work, I juist had to wrap the DES encryption with the same kind of padding:
des := SSLBlockPadding on: DES new.
des setKey: key asBigEndianByteArray.
cypher := des encrypt: plain asByteArray.
And it all worked. Which means, I can now put together a dev build of BottomFeeder using 7.4. I'll get to that later today, or possibly Wednesday (I'm heading to corporate for meetings tomorrow).