But I am curious as to when you imagine having multiple sessions with different encryptionKeys useful?
Even if the goal is to support rotating encryption keys, wouldn't it be better to expand the headers to include all the encryption keys at different ranges?
If the integrity of Hypercores depends on the ability to decrypt it, why leave housekeeping to higher-level abstraction?
This will work fine for me just as #97.
But I am curious as to when you imagine having multiple sessions with different
encryptionKey
s useful? Even if the goal is to support rotating encryption keys, wouldn't it be better to expand the headers to include all the encryption keys at different ranges?If the integrity of Hypercores depends on the ability to decrypt it, why leave housekeeping to higher-level abstraction?