The Word Scrambler is a Python script that reads from standard input, breaks it into words, and randomly substitutes the letters in any word that consists of only lowercase letter or contains '://'. Only letters are scrambled. Whitespace is preserved.
cat "input.txt" | python3 word-scrambler.py > "output.txt"