Question: Consider the following command SELECT pgp _ sym _ encrypt ( ' Sensitive Data', 'secret _ passphrase' ) ; as encrypted _ data; What is

Consider the following command
SELECT pgp_sym_encrypt('Sensitive Data', 'secret_passphrase'); as encrypted_data;
What is the purpose of this command?
Question 5 options:
To create a new encrypted table with the name 'Sensitive Data'.
To generate a new encryption key for the database.
To decrypt the data in the 'encrypted_data' column.
To encrypt the string 'Sensitive Data' using PGP symmetric encryption with 'secret_passphrase'.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!