FileCrypt Application
The FileCrypt application enables files to be encrypted for a given recipient and then decrypted by that recipient. Since the encrypted file contains a MAC, the recipient of a document will also be able to verify that the encrypted file was not tampered with.
These encrypted files will be stored in this custom format:
Field | Length (bytes) |
---|---|
KeyLength |
4 |
KeyBytes |
As specified by KeyLength |
AlgParamsLength |
4 |
AlgParams |
As specified by AlgParamsLength |
MacLength |
4 |
Mac |
As specified by MacLength |
Encrypted Data |
Remainder of file |
This section contains information on the following functions: