in reply to pack and AES help needed

You should look at Crypt::ECB.