Despite their harsh exterior, banks have been quietly preparing for a world that involves cryptocurrencies.