Can't create (AS3) compatible blowfish string in Ruby
===

I'm using Ruby to try and encrypt a string which will be stored in a database and read/decrypted by a Flash/Actionscript app. 

The app uses [this blowfish implementation][1]. 

I have tried both the [openssl][2] and [crypt/blowfish][3] methods of creating a compatible string. Neither match each other and neither matches what the Flash app expects. 

Where do I start in terms of getting this to work? 

  [1]: http://lassieadventurestudio.wordpress.com/2009/09/02/easy-blowfish-text-encryption/
  [2]: http://philtoland.com/post/807114394/simple-blowfish-encryption-with-ruby
  [3]: http://crypt.rubyforge.org/blowfish.html