Over the last couple of years digital currencies like bitcoin have captured the imaginations of everyone from investors to business owners.