[B]encryption keys[/B]

deepika mishra

deepika mishra

@deepika-mishra-4tJeIg Oct 26, 2024
Is it possible to encrypt data using private key and then, decrypting it using public key.If yes, how??

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Aug 28, 2010

    yes you can

    RSA encryption/decryption algorithm where there are two keys named public key which is publically distributed and private key is kept secret
    here you can use private key to encrypt the data and public key to decrypt the data

    But this concept is used in digital signatures

    if you know java then you can check my blog post where i have implemented full rsa algorithm in java

    <a href="https://goyal1989.blogspot.com/2010/06/implementation-of-rsa.html" target="_blank" rel="nofollow noopener noreferrer">Devi Techno Solutions Official Blog: Implementation of RSA encryption/decryption algorithm in java</a>