Patent ID: 9608822
Date: 2017-03-28
CPC Classifications: H04L

Claim:
1. A method for storing one or more data pieces in a document which can be interpreted by a web browser, wherein said method is performed by a web browser and comprises steps of: deriving a master key material from an encryption parameter using a key derivation function; generating one or more random key materials; encrypting said one or more data pieces with a symmetric encryption scheme, wherein each one of said one or more data pieces is encrypted using a distinct one of said one or more random key materials, so as to obtain one or more ciphertexts; assembling said one or more random key materials in a list; computing a verification hash from said list using a cryptographic hash function; encrypting said list with said master key material using said symmetric encryption scheme to obtain an encrypted list; and creating said document by including in the document said verification hash, said encrypted list, said one or more ciphertexts and additional information which, when interpreted by a web browser, provides