LAB 22 ::‐ Heterogeneous keys pair vs homogeneous key pair ? - guptasanjeev-52/oci_docs GitHub Wiki

Homogeneous Key Pair in OCI...

A Homogeneous key pair means the PUBLIC & PRIVATE KEY are generated using the same type of Encryption method...

**RSA Key Pair** ::- Both keys are created using the RSA algorithm.

**Public key** ::- Used to encrypt data or verify a signature.

**Private Key** ::- Used to decrypt data or create a signature.

In OCI, you might create an RSA key pair in the OCI Vault. Both keys are RSA keys and work together for encryption and decryption or signing and verifying.


Heterogeneous Key Pair in OCI...

A heterogeneous key pair means the two keys use of different types of cryptographic algorithms or key types.

RSA Key for Encryption ::- An RSA key pair is used to encrypt and decrypt data.

Public Key ::- Encrypts data.

Private Key ::- Decrypts data.

ECDSA Key for Signing ::- An ECDSA key pair is used to sign and verify data.

Private Key ::- Signs data.

Public Key ::- Verifies the signature.

For OCI compute SSH access , the public key & private key need to be a matching pair. You cannot normally use an unrelated RSA public key with an ECDSA KEY.


FULL FORMS...

RSA ::- RIVEST-SHAMIR-ADLEMAN.

ECDSA ::- ELLIPTIC CURVE DIGITAL SIGNATURE ALGORITHM.

They Both are Cryptographic algorithms , used for security & Digital signatures.

THANKYOU!