Original Post
🔒 Locked
EncryptFile
Advertisement
The documentation over at MSDN seems to outline what it does pretty fine.
It encrypts the file itself and any streams it contains. A file encryption function that didn't encrypt the file would be rather useless.
It encrypts the file itself and any streams it contains. A file encryption function that didn't encrypt the file would be rather useless.
When you encrypt something, you run whatever data you have through an encryption algorithm together with a key. In order to retrieve the original data you need to feed the data through a decryption algorithm together with the correct key.
This way, any data stored on disk or in transit over networks will be practically unusable to anyone who hasn't got the key.
As for the specific semantics around the win32 API function EncryptFile, I believe that the key is related to your user account and supported by your file system, so only users who have rights to access the file can decrypt it.
There's plenty of things to read over at wikipedia if you're interested in how encryption algorithms work, as well as many good books, like Applied Cryptography.
This way, any data stored on disk or in transit over networks will be practically unusable to anyone who hasn't got the key.
As for the specific semantics around the win32 API function EncryptFile, I believe that the key is related to your user account and supported by your file system, so only users who have rights to access the file can decrypt it.
There's plenty of things to read over at wikipedia if you're interested in how encryption algorithms work, as well as many good books, like Applied Cryptography.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement