module to implement the Twofish cipher