hahaGotTheKey = key
result = do_complicated_homomorphic_stuff(key)
hahaGotTheResult = result
save(hahaGotTheKey, hahaGotTheResult)
return result
I guess you are saying the since the key is encrypted there is no way to know exactly what the user asked for. The result is encrypted so there is no way to know what it is. The only thing we know is the user asked for something and something was retrieved.
Of course, if the key is encrypted and the data is encrypted, how is it differentiated from a regular kvs? i.e.
cypherKey = encr(key)
cypherData = encr(value)
kvs.put(cypherKey, cypherData)
Of course, I obviously do not understand it - this is merely a window into my flawed mental model.
get_data(key):
I guess you are saying the since the key is encrypted there is no way to know exactly what the user asked for. The result is encrypted so there is no way to know what it is. The only thing we know is the user asked for something and something was retrieved.Of course, if the key is encrypted and the data is encrypted, how is it differentiated from a regular kvs? i.e.
cypherKey = encr(key) cypherData = encr(value)
kvs.put(cypherKey, cypherData)
Of course, I obviously do not understand it - this is merely a window into my flawed mental model.