Consider me skeptical. A mainframe has to be the least cost effective "crypto-style" math machine you could imagine.
Of course we are talking about encryption here. TLS and AES etc etc. Not Bitcoin mining, which would indeed not be very cost effective.