The invention concerns a piece based on one or several metal hydrides capable of reversibly absorbing hydrogen. According to a basic embodiment, the proposed cryptographic system comprises: at least one secure protocol for performing matrix multiplications in the encrypted domain, and at least one secure protocol for solving systems of linear equations in the encrypted domain. Any data segments written to the tape that needs to be rewritten are identified.