A security module for storing sensitive data in electronic form in a memory comprising:an 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 flexible, integral barrier within said enclosure and substantially entirely surrounding said memory and electrically connecte