This question already has an answer here:
Can I use an old ASIC Bitcoin miner for other applications? For example, quickly reindexing the blockchain on my computer? Or quickly hashing every file on my hard-drive?
(I really wonder if the hard-drive could even supply the data to the miner fast enough, and the computer's CPU would probably have to be involved, translating the data for the miner, so that would be a bottleneck…)
(Note: My question differs from "Reusability of ASIC miners" because I am only asking about hashing-specific applications, not whether ASICs can do other mathematical operations.)