encoder
noun
°A device used to encode a signal either for cryptography or compression.