A day after one of the largest “ransomware” attacks on record, which left thousands of computers at companies in Europe, universities in Asia and hospitals in Britain still crippled or shut down on Saturday, Amber Rudd, the British home secretary, told the BBC that the N.H.S. needed to learn from what had happened and upgrade its information technology system.