Encrypting blocks of text