Two charities received about $10,000 in donations in digital currency Bitcoin from a group claiming to have made the gift from proceeds it received after a ransomware payment by corporations.