upvote
Security primitives which don’t nest are fundamentally a bad API design.

Sometimes that’s justified in the name of making the security code simple enough to reason about, but making it harder to use has a security cost also.

reply