encryption-pattern
Installation
SKILL.md
Encryption Security Pattern
Encrypt a message (data elements and/or action requests) to ensure its confidentiality with respect to entities that do not possess the correct decryption key.
Core Components
| Role | Type | Responsibility |
|---|---|---|
| EntityA | Entity | Wants to encrypt one or more data elements and/or action requests |
| EntityB | Entity | Wants to decrypt received ciphertext (may be same as EntityA) |
| Encrypter | Cryptographic Primitive | Library providing encryption action |
| Decrypter | Cryptographic Primitive | Library providing decryption action |
Note: Encrypter and Decrypter roles can be performed by a single library instance. Similarly, EntityA and EntityB can be the same entity.