Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 24th, 2007, 02:07 AM
Authorized User
 
Join Date: Jun 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Asymmetric Encryption

 Hi im using Asymmetric Encryption using RSa.

But the data which it can take as input is small. if i give large data as input it is giving an error

"Key not valid for use in specified state."

is there any way to solve the problem?????????


Please help.

Regards,
zaheer.


Intellectuals solve problems but Genious avoid problems.
__________________
Intellectuals solve problems but Genious avoid problems.
 
Old August 31st, 2007, 11:14 AM
Authorized User
 
Join Date: May 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi ,
Put your code here .This is better to get solution easily.




With Regards,
Muralidharan.D
 
Old September 5th, 2007, 08:43 AM
Registered User
 
Join Date: Sep 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Zaheer,

Apparently there is a limit to what can be encrypted or decrypted in one go: see for example here:

http://www.codeproject.com/csharp/RSAEncryption.asp

You will have to chunk up your data as described in the article,

Regards,
Joachim





Similar Threads
Thread Thread Starter Forum Replies Last Post
SP Encryption carumuga SQL Server 2005 1 September 20th, 2008 10:30 AM
Encryption timeware SQL Server 2005 1 September 7th, 2006 12:35 PM
encrypting the xml file using asymmetric cipher sachinkataria Pro Java 0 July 18th, 2006 08:28 AM
Encryption mani_he Pro PHP 3 October 18th, 2005 02:20 PM
with encryption jtrifts SQL Server 2000 1 February 21st, 2005 12:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.