3 ms·
> I did not know such thing is possible. It's theoretically possible, but right now it's too slow to be practical in usual situations. Just storing and single
by viraptor 11y ago
> I did not know such thing is possible.
It's theoretically possible, but right now it's too slow to be practical in usual situations. Just storing and single operations are maybe possible. But for example homomorphic AES takes multiple seconds per each block. And that's still AES-128.
- e12e 11y agoWait, are you saying HE is feasible for 128 bytes of data, if you can allow seconds for de/encryption? That'd be plenty usable for read-at-startup 128 bit api keys for micro-services, disk encryption keys etc? (Granted, in this context, having a de-crypted disk at run time under a vm would be considered insecure - but still better (for some use cases) than man alternatives)
- viraptor 11y agoAES has a block size of 128 bits, not bytes. Using the fastest reported method, that would be 2s/block, so 16s/128bytes. So in practice, probably that's the case - you could use homomorphic encryption for very infrequent operations on KEKs for example.
- e12e 11y agoWell, actually I was wrong twice, so it cancels out ;-) 128 bits is enough for many things. Eg. 128 bit keys. Too little for an ECC secret key, but not by much.