Sell the tech to a government? Write a paper? Keep it to yourself? Buy/sell a lot of stock? I don't know, so I figured it'd be fun to ask.
With the cracking algorithm I can now intercept and decrypt SSH traffic, it be a matter of time before I gain enough shell access to internet connected computers, on which I can run this anonymously. Probably just hang out in enough cafes in SF and Seattle with Evil Twin hotspot and enough people would be sshing into stuff for me to grab the keys.
Then once I have like 30 million in bitcoin, Id probably just post the crack anonymously on a forum, and then spend the rest of my time carefully managing the crypto and converting it to cash to make sure I don't get audited.
I'd publish it anonymously, though, in an attempt to prevent having to spend a lot of time discussing it with others (particularly the press).