houlin / crypto-js

Automatically exported from code.google.com/p/crypto-js
0 stars 0 forks source link

Automatic key expiration #135

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am having a scenario where i want to secure the JSON data which i am sending 
and storing at the client side, and i also want that, that data should be 
protected, The way to protect this data i suppose is encryption of the data but 
because the decryption logic and key is also at the client side (to decrypt the 
encrypted JSON data).

So to protect it i was wondering if we can set something like expiration time 
of key,

The way i was thinking this is to work that if someone is encrypting the data 
with the key then encrypted data must have some intelligence that after a 
period of time this data cannot be decrypted with the key with which it was 
encrypted(or may be cannot be decrypted at all).

is it possible? i suppose yes , and i don't it is there in the library now.

so i am asking to all members to please provide this facility in this library, 
or if it is not possible(which i suppose is not) or is not gonna solve a 
problem please justify.

Thanks.

Original issue reported on code.google.com by 5i.aksha...@gmail.com on 30 Jun 2014 at 1:17