Encryption and Decryption using Asp.net and MySql - Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Webmaster Tech > Databases - MySQL, SQL, Oracle, Access and others

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-25-2006, 07:14 AM   #1 (permalink)
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, 03:18 AM   #2 (permalink)
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, 11:47 AM   #3 (permalink)
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.
karlkatzke is offline   Reply With Quote
Old 02-20-2011, 11:42 PM   #4 (permalink)
Junior Member
 
Join Date: Dec 2010
Posts: 29
Default Re: Encryption and Decryption using Asp.net and MySql

Encryption is the process of transforming information or data using an algorithm to make it unreadable to anyone except those who implements it, usually referred to as a key. encryption / decryption algorithm which was developed for Asp.net, C# and VB.net. In the part of decryption stescodes uses the same technique in reverse order that is minus with the key value and decompress.

________________________________________________
RVs For Sale | Old Cars For Sale
Maxy28 is offline   Reply With Quote
Old 02-24-2011, 09:31 PM   #5 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 19
Default Re: Encryption and Decryption using Asp.net and MySql

I use a component for a long time, I think it can help you. More information you can view:
http://www.e-iceblue.com/Knowledgeba...s/Protect.html
tomason 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

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



» Sponsors

» Links

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

» 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 08:19 AM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Webmaster Forums
Web Hosting | Chicago Web Hosting | Web Hosting