BCA / B.Tech 10 min read

Cryptography & Its Types

Cryptography & Its Types in RDBMS:

Cryptography is the practice of securing communication from adversaries. In the context of RDBMS, it's used to protect sensitive data stored in the database.

Types of Cryptography:
  1. Symmetric Cryptography:
    • Also known as secret-key cryptography, it uses a single key for both encryption and decryption.
    • This method is fast and efficient, making it suitable for encrypting large amounts of data.
    • Examples of algorithms include AES (Advanced Encryption Standard) and DES.
    • The main challenge is securely sharing the secret key.
  2. Asymmetric Cryptography:
    • Also known as public-key cryptography, it uses a pair of keys: a public key for encryption and a private key for decryption.
    • The public key can be shared with anyone, while the private key is kept secret.
    • It is more secure but slower than symmetric cryptography.
    • Examples of algorithms include RSA and ECC. It is often used for digital signatures and secure key exchange.