1/8
Looks like no tags are added yet.
Encrypting Stored Data
Essential for protecting information on storage devices like SSDs, hard drives, USB drives, and cloud storage.
Can be achieved through full-disk or partition/volume encryption using tools such as BitLocker and FileVault, which encrypt everything on the storage device, not just individual files.
In Windows, the Encrypting File System (EFS) offers file-level encryption built into the NTFS file system.
For Mac OS, Linux, and Windows, there are many third-party utilities available to perform similar file encryption functions.
Database Encryption
Involves protecting both stored data and its transmission.
Transparent encryption encrypts all database information using a symmetric key.
Record-level encryption, on the other hand, encrypts individual columns with separate symmetric keys for each column.
Allows for selective encryption, so that non-sensitive data can remain in plain text while sensitive information is protected
Encryption Example
In an employee database containing ID numbers, first names, last names, and Social Security numbers, you can use symmetric key encryption to encrypt the entire database.
However, decrypting the entire database for each search can be time-consuming.
To reduce overhead, you can employ column-level encryption. In this approach, employee IDs, first names, and last names remain in plain text, allowing for quick searches.
Sensitive data like Social Security numbers is encrypted, requiring decryption of either the entire column or individual records to access this information.
Transport Encryption
Protects data traversing the network, ensuring that any intercepted information remains indecipherable.
Common methods include application-level encryption, like HTTPS for secure browser communication, where all data transmitted over the network is encrypted.
Virtual Private Networks (VPNs) encrypt all data transmitted over the network, regardless of the application.
Client-based VPNs use SSL/TLS for encryption, while IPsec is often used for site-to-site VPN connections
Encryption Algorithms
Come in a variety of forms, each with unique advantages and disadvantages in terms of security level, speed, and complexity of implementation.
For successful encryption and decryption, both parties must use the same encryption algorithm, which is agreed upon before encrypting the data.
Typically falls to the security administrator, who understands the users' requirements and ensures that the appropriate encryption algorithms are employed
These details are often hidden from the end user.
Encryption Algorithm Comparison
The necessity for both parties in a conversation to use the same algorithm.
DES encryption involves five steps, including splitting data into left and right plaintext, resulting in a 64-bit ciphertext.
AES, on the other hand, combines plaintext and a secret key to generate ciphertext.
Various AES versions produce different output levels
Encryption and decryption must employ the same algorithm, as you cannot encrypt with DES and decrypt with AES.
Cryptographic Keys
Are crucial for the encryption and decryption process. While encryption algorithms are well-known and documented, the key remains the secret element that enables data security.
Understanding the algorithm alone doesn't grant access without the proper key, much like knowing how a door lock works doesn't unlock the door without the right key.
The key determines the output, including encrypted data, hash values, and digital signatures.
It is vital to keep your key private, as it is the primary safeguard for your data. If someone gains access to your key, they can decrypt your information just as easily as unlocking a door with the right key.
Key Lengths
Larger keys are generally more secure as they make it harder for attackers to perform brute-force attacks, where they attempt every possible key combination to decrypt the data.
For symmetric encryption, 128-bit or larger keys are common.
In asymmetric encryption, which involves complex calculations of prime numbers, keys are typically much larger than those used in symmetric encryption
It is common to see key lengths of 3,072 bits or larger in asymmetric encryption
Key Stretching
Also known as key strengthening, involves performing the encryption process multiple times on a single type of data to enhance security
For example, repeatedly hashing a password increases the difficulty of brute-forcing the data. An attacker would need to decrypt the data multiple times, adding overhead and significantly increasing the time required for a successful brute-force attack.