I'm trying to entertain a topic, I tried looking around, but I would like a a pointer or someone telling me simply "this cannot work".
I know that usual decryption by private key (whatever form) results in an encrypted value, this value can only be decrypted by using the original private key.
Is there a system out there that allows me to:
- Generate a Master Key.
- Derive a Child Key (Or multiple child keys) from MASTER.
- Derive Grandson Key or (Or Multiple) from CHILD.
Where Values encrypted by:
Grandson -> Can be decrypted by CHILD.
Child-> Can be decrypted by MASTER
Master -> Can only be decrypted by MASTER.
So DERIVED keys can decrypt downwards, but not upwards.
IMPORTANT: Each level have only access to their OWN key.
Does such a concept exist?
I appreciate any help!
I tried googling around and asking some gpts about it, they don't know how to say "this cannot work" and just spew out something about BIP32 or Eth Hashes that derive from each other, they encrypt but cannot decrypt, as expected.
I also tried looking in stack overflow and the answers seem not to be my usecase.