Go Back   DeveloperBarn Forums > Programming & Scripting > ASP Development

Sponsored Links

Discuss "ASP 2 way encryption function" in the ASP Development forum.

ASP Development - Learn coding practices and tips to get the best out of your Active Server Pages (ASP). The Classic ASP forum is for ASP/VBScript and ASP/JScript applications.


Reply « Previous Thread | Next Thread »  
 
LinkBack Thread Tools Display Modes
  #1  
Old August 13th, 2008, 08:03 PM
dr_rock's Avatar
Drunk Developer

 
Join Date: Jun 2008
Posts: 31
Thanks: 4
Thanked 3 Times in 1 Post
Rep Power: 1
dr_rock is on a distinguished road

Awards Showcase
Classic ASP 
Total Awards: 1

Question ASP 2 way encryption function

Anyone have an encryption algorithm handy they can throw my way? Yes I know I am being lazy but why re-invent the wheel!
Reply With Quote
Sponsored Links
  #2  
Old August 14th, 2008, 12:58 AM
dr_rock's Avatar
Drunk Developer

 
Join Date: Jun 2008
Posts: 31
Thanks: 4
Thanked 3 Times in 1 Post
Rep Power: 1
dr_rock is on a distinguished road

Awards Showcase
Classic ASP 
Total Awards: 1

Default

Ok so I didnt find anything I like so i'm chucking one together for myself... if its any good ill add it to the code bank. Just out of curiosity, what do you guys do with integers which are too long for longs in asp?
Reply With Quote
  #3  
Old August 14th, 2008, 08:01 AM
jmurrayhead's Avatar
The Barnfather

 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 820
Thanks: 20
Thanked 74 Times in 71 Posts
Blog Entries: 5
Rep Power: 3
jmurrayhead has a spectacular aura aboutjmurrayhead has a spectacular aura aboutjmurrayhead has a spectacular aura about

Awards Showcase
Microsoft Windows Microsoft .Net Microsoft SQL Server Classic ASP 
Total Awards: 4

Default

Well, the largest value a Long can hold is 2,147,483,647. A Single can hold -3.402823E38 to -1.401298E-45 for negative values and 1.401298E-45 to 3.402823E38 for positive values. And a Double can hold -1.79769313486232E308 to -4.94065645841247E-324 for negative values and 4.94065645841247E-324 to 1.79769313486232E308 for positive values. I guess those would be the one of the options.
__________________
jmurrayhead
If you agree with me... click the icon!
If my post solved your problem, click the button in the lower right-hand corner of the post.

Join our Folding team: DeveloperBarn Folding
Reply With Quote
Reply

  DeveloperBarn Forums > Programming & Scripting > ASP Development

Bookmarks

Thread Tools
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ASP/VBScript] Hashing (Encryption) Password & Other Sensitive Information BLaaaaaaaaaarche Code Samples 1 November 3rd, 2008 11:44 PM


All times are GMT -4. The time now is 06:37 PM.



Content Relevant URLs by vBSEO 3.2.0