rdup depends on mcrypt for encryption

Closes #24096.