Added separate encrypt and decrypt functions to byte transformers