adding twofish cipher to templates