Deprecated mcrypt with DES or ECB mode provides weak, insecure encryption.
Use openssl or sodium with AES-GCM or a modern authenticated cipher.