A method for storing data (D 1 , ..., D N ) in a tamper-proof manner in an electronic memory , using a data block structure comprising a plurality of data blocks (102, ..., 110), wherein each of the data blocks (102, ..., 110) is assigned a function (ξ 1 , ..., ξ N ) that is dependent on the data (D 1 , ..., D N ) stored in the corresponding data block (102, ..., 110), the method for mutually concatenating all data blocks (102, ..., 110) of a first group (120, ..., 126) of data blocks (102, ..., 110) so that each data block (102, ..., 110) of the first group (120, ..., 126) is dependent on all other data blocks (102, ..., 110) of the first group (120, ..., 126), comprising: • for the first group (120, ..., 126) of data blocks (102, ..., 110): o determining the functions (ξ 1 , ..., ξ N ) assigned to the data blocks (102, ..., 110) of the first group (120., ..., 126); o creating a first combination (ψ) of all functions (ξ 1 , ..., ξ N ) assigned to the data blocks (102, ..., 110) of the first group (120, ..., 126); and o determining a combination-dependent coefficient (c 1 , ..., c N ) for each function (ξ 1 , ..., ξ N ) of the first combination (ψ) so that the first combination (ψ) meets a first predefined condition; • for each data block (102, ..., 110) of the first group (120, ..., 126): o determining a control group of data blocks (102, ..., 110) of the first group (120, ..., 126) assigned to the corresponding data block (102, ..., 110); and o storing the coefficient (c 1 , ..., c N ) that was determined for the function (ξ 1 , ..., ξ N ) of the corresponding data block (102, ..., 110) in all data blocks (102, ..., 110) of the control group. • for the first group (120, ..., 126) of data blocks (102, ..., 110): o determining the functions (ξ 1 , ..., ξ N ) assigned to the data blocks (102, ..., 110) of the first group (120., ..., 126); o creating a first combination (ψ) of all functions (ξ 1 , ..., ξ N ) assigned to the data blocks (102, ..., 110) of the first group (120, ..., 126); and o determining a combination-dependent coefficient (c 1 , ..., c N ) for each function (ξ 1 , ..., ξ N ) of the first combination (ψ) so that the first combination (ψ) meets a first predefined condition; o determining the functions (ξ 1 , ..., ξ N ) assigned to the data blocks (102, ..., 110) of the first group (120., ..., 126); o creating a first combination (ψ) of all functions (ξ 1 , ..., ξ N ) assigned to the data blocks (102, ..., 110) of the first group (120, ..., 126); and o determining a combination-dependent coefficient (c 1 , ..., c N ) for each function (ξ 1 , ..., ξ N ) of the first combination (ψ) so that the first combination (ψ) meets a first predefined condition; • for each data block (102, ..., 110) of the first group (120, ..., 126): o determining a control group of data blocks (102, ..., 110) of the first group (120, ..., 126) assigned to the corresponding data block (102, ..., 110); and o storing the coefficient (c 1 , ..., c N ) that was determined for the function (ξ 1 , ..., ξ N ) of the corresponding data block (102, ..., 110) in all data blocks (102, ..., 110) of the control group. o determining a control group of data blocks (102, ..., 110) of the first group (120, ..., 126) assigned to the corresponding data block (102, ..., 110); and o storing the coefficient (c 1 , ..., c N ) that was determined for the function (ξ 1 , ..., ξ N ) of the corresponding data block (102, ..., 110) in all data blocks (102, ..., 110) of the control group. <EOS>