Re: RSA encrypting with the Private Key?
Date: Mon, 7 Jul 2003 15:25:16 -0700
there are two possible answers here, depending on whether your question is
theoretical or practical.
Practically: no, it can not be done, that is, with the existing classes/APIs
you can not just take a private key and encrypt data using it; RSA algorithm
was not designed for this use.
Theoretically: yes, it can be done, and in fact it is sort of being done
under the hood when you digitally sign something.
This message is provided "AS IS" with no warranties, and confers no rights.
"Roberto Martinez-Brunet" <firstname.lastname@example.org> wrote in message
> Using RSA, can the encryption be done with the private key and the
> decryption with the public? Would appreciate any help on this.
> Roberto Martinez-Brunet
- Re: What is stored in a RSA key?
... <As far as I know the RSA algorithm is based on the following formula: ... <same formular but with another exponent. ... <I have an idea about modulus, publicExponent, privateExponent, prime1, ... When you know the private key, ...
- RSA - Encrypt with Private
... How can I force RSACryptoServiceProvider to encrypt data ... with the PRIVATE key in order to let the "receiver" to be ...
- Re: How? Encrypt using private key
... The sender has a private key, the recipient has a public key. ... >>To encrypt data using a private key you can you RSACryptoServiceProvider ... >>Sergey Bogdanov ...
- Re: Signing hash with private key
... CryptEncrypt will encrypt data with the public key only. ... CryptSignHash automatically uses the private key to sign ... I then created a hash object, added data to be> hashed to the hash object, and called CryptEncrypt with the private key ...
- Re: openssl_pkey_new()
... > I'm hoping to use the OpenSSL module to encrypt data in a database (no ... Just wondering - how can the private key by "nice n secure" if a script ...