
A cloud file may be encrypted with a different key from the one used to protect that key. This distinction matters when a user shares a document, adds a recipient or changes access without uploading the entire document again. The interesting question is not how many layers the diagram contains. It is what each layer protects, who can operate it and which failure it leaves untouched.
The document and its key are different objects
Consider a hypothetical service that encrypts a large design archive with a randomly generated file key. It stores the encrypted archive in object storage. A separate mechanism protects the file key for an authorised recipient. Changing that recipient’s access need not require encrypting every byte of the archive again, although the actual protocol determines whether old permissions and old copies remain usable.
The small protected key object needs its own specification. Its format, algorithm identifiers and verification rules cannot be inferred from the word “capsule”. Nor does an encrypted key object establish that the archive was encrypted correctly. A reviewer needs both paths: how the application protects the document and how it distributes the means to recover it.
Key wrapping has a narrower meaning
NIST SP 800-38F, published in 2012, specifies methods for protecting the confidentiality and integrity of cryptographic keys. AES-KW and AES-KWP are key-wrapping constructions. They are not interchangeable names for every encrypted envelope, and the publication is not a certification of a service that mentions wrapping.
RFC 3394 gives an AES key-wrap construction and test vectors. It is an Informational RFC from 2002, not an Internet Standard. In an implementation review, its useful contribution is concrete: a named construction can be checked against defined inputs, outputs and failure behaviour. A marketing description cannot provide that test.
An RSA key-encapsulation mechanism is another construction
RFC 9690, published on the Standards Track in February 2025, specifies RSA-KEM use in Cryptographic Message Syntax and replaces RFC 5990. Its purpose is to establish keying material for a recipient. That is a more precise statement than saying that RSA “encrypts everything”. The surrounding message format and content-encryption mechanism still matter.
This also sets a limit on comparisons. A system that describes an RSA capsule has not thereby demonstrated compliance with RFC 9690. Similar vocabulary does not establish identical encoding, derivation, validation or interoperability. Those details require a protocol specification and testable implementation evidence.
Where the historical Safe design belongs
Our technical chapter on HVKM, RSA and key capsules examines the historical UseCrypt Safe description, version 1.3 dated 8 October 2018. It separates file encryption from the server and client operations used to recover a file key, and records the limits of the available description. This is a historical product analysis, not evidence that today’s Messenger implements AES-KW or the later RSA-KEM standard.
A Safe tutorial published on 17 January 2019 shows the user-facing workflow: adding a file, sharing it and changing access. The screen recording helps explain the operation. It does not expose the binary key format or establish which cryptographic checks run beneath the interface.
What an engineering review should request
Start with a specimen key object and its versioned format. Ask which key protects it, where that protecting key is generated, and what the application does when verification fails. Follow a recipient change through every affected object rather than assuming the whole archive receives a new protection boundary.
Then test the document separately. A valid wrapped key does not prove that a filename, version number or recipient label belongs to the intended archive. It also says nothing about availability during a key-service outage. The value of a split design lies in reducing specific powers and exposures. Its credibility comes from documenting those reductions precisely enough to test them.
