Home
Submit Resources
Submit Article
Sponsored Listings
What's New
What's Hot
Latest ASP.NET Article
Join Us
Login
ASP.NET Article
Web Applications
ASP.NET Component
ASP.NET Hosting
VB.NET Article
C# Article
Web Applications
RSS News
Site Map 1
Site Map 2
Search
Article
Resources
You are 1 of 46 users
WorldofASP.NET
>>
ASP.NET
>>
Unedited ASP.NET
181
181
Published Date :
02 Jun 2008
Author
:
Author
Language
:
C#
Platform
:
.NET
Technology
:
ASP.NET
Views
:
72175
Rating
:
(5 votes so far)
Other Related and Popular Articles :
Simple asp2 feedback form
A simple way to get user feedback via webpage email.
Basics of XHTML-MP
Basics of XHTML-MP
Custom Validation for DOB Using three dropdownlist
This article is exactly usefull to validate date of Birth having three dropdownlist control.
Repeater within Repeater
this article is used to show hierarchical data using repeater control.
Introduction to Data Binding in ASP.NET 2.0
This article explains the basic concept about Data Binding in ASP.NET 2.0
Author Profile : Author
Click here to view Author Profile
How would you rate the quality of this content?
Poor
1
2
3
4
5
Excellent
Comments
#Encryption Key
10 Aug 2009 9:13 by : omerson
Hello,
I want to encrypt an id which is consisting of numericals.
And I want the encrypted id size to be as short as original id.
Can't I use shorter Encryption Key for this ?
(I tried to use shorter key but I got an error which tells key is not a valid size for the algorithm)
Or is there a way to get a shorter size encrypted Id ?
Thanks.
#issue with encrypted result which contains = ? / ...
03 Jun 2009 5:02 by : SROUSSI
Hi
In my site I am using the exactly same process, but I fell on a big problem.
The encoded string contains '='
So of course I do UrlEncode and get ABCD%3d
until there no problem.
Let's say my url is www.mysite.net/SomePage.aspx?reqest=ABCD%3d
But I am using a component which take the url as query string parameter in a different form (and doesn UrlEncode of it)
So it posts www.mysite.net/SomePage.aspx?thecomponentparam=www.mysite.com%2dSomePage.aspx%3frequest%3dABCD%3d
then the Request is UrlDecoded and the param becomes www.mysite.com/SomePage.aspx?request=ABCD=
!!!!
which doesnt correspond to the original url
Does Someone know a way to encrypt without getting those forbidden characters (=,?,/,...) in the encrypted reslut?
thanks
#Newbie needs help!
31 Mar 2009 14:02 by : David
Please tell how do I set up the "C# backend" to have this work? I use Repeater control to ouput StudentID value in aspx page. The Repeater control connects to a TableAdapter DAL.
Thank you.
#Small bug when passing encrypted string as parameter
31 Jan 2009 3:37 by : DigiOz Multimedia
I want to point out a small bug I came across while testing your Encryption Class. Suppose we have the following:
Encryption Key: !5623a#de
String To Encrypt: Picture Upload
Encrypted Result: DGZLRNzmhuOkyyNpnvqO+g==
When you pass that string as a parameter and retrieve it on a different page, you get the following instead:
Retrieved Encrypted Parameter: DGZLRNzmhuOkyyNpnvqO g==
Notice the "+" sign missing from the encrypted string. This retrieved string will therefore not Decrypt correctly and gives you an empty string in return. There are other characters that behave in a similar manner.
To solve this problem, use the Server.URLEncode("Encrypted String") function before passing the encrypted string as a parameter.
Thanks,
Pete
#Excellent Class!
30 Jan 2009 3:47 by : DigiOz Multimedia
Great work on this class. It was exactly what I was looking for.
Thanks,
Pete
#An excellent example that actually works
02 Jul 2008 12:59 by : leon
Thank you so much. Other DES examples I've found online(including one from MS) omitted the cs.FlushFinalBlock() call in the Decrypt method, resulting in truncated data. I've wasted 4 hours trying to troubleshoot it until I stumbled across your post. Thank you so much!
Leave New Comments
Article Content copyright by Author
Everything else Copyright © by
WorldofASP.NET
2010
Category
.NET 3.5
Windows Communication Foundation
Windows Presentation Foundation
Card Space
AJAX and ATLAS
General AJAX and ATLAS
Unedited AJAX And ATLAS
AJAX Applications
ASP.NET
Applications
Caching
Cookies
C# Programming
Applications
Database
Date And Time
Classic ASP
Applications
Components
General ASP
Enterprise Systems
SQL Reporting Services
SharePoint Server
Exchange Server
General .NET
Security
ADO.NET
Patterns and Practices
VB.NET Programming
Applications
Date and Time
Delegates and Events
Announcements
Earn Cash by writing an article or review
For more info
Click here
Legend :
- Within 3 Days
- Within 6 Days
- Within 9 Days
Home
|
Add Resources
|
Sponsored Listings
|
Advertise with Us
|
SiteMap 1
|
SiteMap 2
|
Link To Us
|
Contact Us
© 2002-2010 Worldofasp.net ASP.NET Directory, Hosting and Tutorials | All rights reserved
Our Partners :
ASP.NET Web Hosting
|
ASP Hosting
|
ASP.NET Hosting
|
Phone Card
|
Calling Card
|
Stock Investing