@ sravya_1988 TIMTOWTDI =. there is more than one way to do it
perhaps you can give more information?
for example, what is your goal? are you actually trying to write a "cryptography program" or are you simply trying to encrypt and decrypt some fields?
if you're using .NET encryption/decryption, you'll get an exception encrypting/decrypting nulls ... it's possible you may also get an exception encrypting/decrypting empty strings.
BTW, you'll have a better chance of getting better help here if you show the relevant lines of your code that are contributing to your problem plus name the actual type of exceptions your are getting plus provide the relevant parts of stack traces, et cetera;
otherwise, members like myself can do no more than simply guess.
g.
B-) Please help me by completing my school survey about computer programmers on my website. Thank you!!! Gerry Lowry +1 705-429-7550 wasaga beach, ontario, canada
sravya_1988
Member
2 Points
9 Posts
Security
Oct 15, 2011 02:09 PM|LINK
HI,
I am trying a cryptography program but i am getting lot of exceptions. So please help me how to write the program.
gerrylowry
All-Star
20525 Points
5713 Posts
Re: Security
Oct 15, 2011 03:15 PM|LINK
@ sravya_1988 TIMTOWTDI =. there is more than one way to do it
perhaps you can give more information?
for example, what is your goal? are you actually trying to write a "cryptography program" or are you simply trying to encrypt and decrypt some fields?
if you're using .NET encryption/decryption, you'll get an exception encrypting/decrypting nulls ... it's possible you may also get an exception encrypting/decrypting empty strings.
BTW, you'll have a better chance of getting better help here if you show the relevant lines of your code that are contributing to your problem plus name the actual type of exceptions your are getting plus provide the relevant parts of stack traces, et cetera; otherwise, members like myself can do no more than simply guess.
g.