Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Programming > Databases - MySQL, SQL, Oracle, Access and others
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-25-2006, 08:14 AM   #1 (permalink)
tomcruise12345
Junior Member
 
Join Date: Aug 2006
Posts: 7
Default Encryption and Decryption using Asp.net and MySql

Hello freinds,

actually i am developing a encryption and decryption application in asp.net 2005 and mysql Database.I am implementing Rijndael algorithm.

my code perfectly works with SqlServer 2000.

but in mysql ,it is showing some problem.

actually while retriving record through datareader,i have to convert the password contained in datareader into byte[] type.but in mysql it is not converting,while it works fine with sql server.
password field datatype is varbinary.

please reply me????????


MySql.Data.MySqlClient.MySqlDataReader reader = cmd.ExecuteReader(CommandBehavior.SingleRow);
byte[] encryptedData = (byte[])reader["CreditCardData"];
tomcruise12345 is offline   Reply With Quote
Sponsored Links
Old 10-23-2006, 04:18 AM   #2 (permalink)
BurgerKing
Junior Member
 
Join Date: Oct 2006
Posts: 5
Default Re: Encryption and Decryption using Asp.net and MySql

What is the error?
BurgerKing is offline   Reply With Quote
Old 11-13-2006, 12:47 PM   #3 (permalink)
karlkatzke
Junior Member
 
Join Date: Nov 2006
Location: College Station, TX
Posts: 6
Default Re: Encryption and Decryption using Asp.net and MySql

Eek. This is going to be a .Net/Connector issue. I'd reccomend figuring out exactly what error the connector is throwing, and then go post it over at the MySQL/Connector forums on mysql.com ... I really, really would not reccomend using MySQL with .Net because of the crappy, neglected state of the drivers.
__________________
Karl Katzke - Available for RHEL/CentOS admin, and small PHP/HTML/XHTML jobs.
karlkatzke is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 11:36 AM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums