A security module for storing sensitive data in electronic form and a memory comprisingan enclosure for an electronic circuit including said memory and data input leads to supply the sensitive data to said memory and to allow selective outputting of data from said memory, a battery to supply power to said memory and a battery voltage detector to detect a low voltage in said battery and a circuit t