def encrypt(self, data, pad=None, padmode=None):
        data = self._guardAgainstUnicode(data)
        if pad is not None:
            pad = self._guardAgainstUnicode(pad)
        data = self._padData(data, pad, padmode)
        return self.crypt(data, des.ENCRYPT)
encrypt(data, [pad], [padmode]) -> bytes
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/lib/utils/pyDes.py/des.encrypt