Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 07:04

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



!! ASP encrypt/decrypt manual info and application link :)

Discussion on !! ASP encrypt/decrypt manual info and application link :) within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
5hoursez's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 486
Received Thanks: 90
Lightbulb !! ASP encrypt/decrypt manual info and application link :)

The actual application can be downloaded from this site:


Manual is very informative:

ASP/Encrypt Component
CH.1 Overview

ASP/Encrypt is a server side COM component that allows web developers to strong encrypting and decrypting of text and files. Supports the latest industry-standard strong encryption and hashing algorithms including: Blowfish, Cast 128, Cast 256, Rijndael, Serpent, Twofish, TEA, MARS, IDEA, Haval, MD5, SHA-1, SHA-512, Tiger, RipeMD-160, etc.

This component is shareware version without limitations on functionality or time. You can fully develop and test your application before purchasing this product, the only limitation is component works when client requests from the IP 127.0.0.1 or ServerIP, No requests from other IP addresses will be served. If you want to remove limitations then you have to register it for US$40.

ASP/Encrypt Component
CH.2 Features

* String encoding/decoding.
* File encoding/decoding.
* Generate a Hash value (one-way encryption algorithm) from a file or a string.
* Password generator.
* Supports encryption algorithms: Blowfish, Cast 128, Cast 256, Rijndael (AES), Serpent, Twofish, TEA, MARS, IDEA, DES, 3DES, Ice, Thin Ice, Ice 2, Misty1, RC2, RC4, RC5, RC6.
* Supports hashing algorithms: MD4, MD5, SHA-1, SHA-256, SHA-384, SHA-512, Tiger, RipeMD-128, RipeMD-160, Haval.
* Support ASP, PHP (COM class - Windows).

ASP/Encrypt Component
CH.3 Installation

* Unzip the ASPEncrypt.zip file extract to a directory.
* copy register.bat and nonnoi_ASPEncrypt.dll to the WINNT\SYSTEM32 (or WINDOWS\SYSTEM on Win95/98 or WINDOWS\SYSTEM32 on WinXP Home) directory
* run register.bat
* Done!

ASP/Encrypt Component
CH.4 Reference

HashAlgorithm
Specifies the algorithm to be used for hashing the Input data. The default algorithm is MD5.
0 - MD5 (default)
1 - MD4
2 - RipeMD-128
3 - RipeMD-160
4 - Haval
5 - SHA-1
6 - SHA-256
7 - SHA-384
8 - SHA-512
9 - Tiger



CipherAlgorithm
Specifies the algorithm to be used for encrypting the Input data. The default algorithm is BlowFish:
0 - BlowFish (default)
1 - Cast-128
2 - Cast-256
3 - DES
4 - 3DES
5 - Ice
6 - Thin Ice
7 - Ice 2
8 - IDEA
9 - MARS
10 - Misty1
11 - RC2
12 - RC4
13 - RC5
14 - RC6
15 - Rijndael (AES)
16 - Serpent
17 - TEA
18 - TwoFish
19 - XTEA (TEAV)



HashSize : ReadOnly
Size of the output of the hash algorithm (in bits) .


MaxKeySize : ReadOnly
Size of the maximum key (password) that use for the cipher algorithm (in bits) .


CipherMode
This is the current chaining mode you to use for ciphering:
0 - Cipher block chaining. (default)
1 - 8bit cipher feedback.
2 - Cipher feedback (using the block size of the algorithm).
3 - Output feedback.
4 - Counter.


HashString Function : String
This functions will hash a string, first you must have specified the hash algorithm to use.
Parameters:
InputStr - String expression that needs to be hashed.

Return Values:
Function returns hash value of the given string.


HashFile Function : String
This functions will hash a file, first you must have specified the hash algorithm to use.
Parameters:
Filename: - Specifies file name that needs to be hashed.

Return Values:
Function returns hash value of the given file.


EncryptString Function : String
This functions will encrypt a string, first you must have specified the hash and cipher algorithm to use.
Parameters:
InputStr - String expression that needs to be encrypted.
Password - The Secret (Key or Password) value that is used for encryption.

Return Values:
Function returns encrypted value of the given string.


EncryptFile Function : String
This functions will encrypt a file, first you must have specified the hash and cipher algorithm to use.
Parameters:
SourceFilename - Specifies file name that needs to be encrypted.
DestFilename - The destination file name that holds the encrypted file.
Password - The Secret (Key or Password) value that is used for encryption.


DecryptString Function : String
This functions will decrypt a string, first you must have specified the hash and cipher algorithm to use.
Parameters:
InputStr - Specifies file name that needs to be decrypted.
Password - The Secret (Key or Password) value that is used for decryption.

Return Values:
Function returns decrypted value of the given string.


DecryptFile Function : String
This functions will decrypt a file, first you must have specified the hash and cipher algorithm to use.
Parameters:
SourceFilename - String expression that needs to be decrypted.
DestFilename - The destination file name that holds the decrypted file.
Password - The Secret (Key or Password) value that is used for decryption.


GenPassword Function : String
Generate a random Password.
Parameters:
Length - Length indicates the number of password to return.
Style - (Option) Use Style to restrict the characters of Password formats.
? for 0..9,A..Z
A for A..Z
a for a..z
0 for 0..9

Ex. : Obj.Style="0??-?????" {Output: 5A4-TP04G, 9GB-98T5, 14A-8TNG4 5MA-PNN9G}
Ex. : Obj.Style="000-AAAA-????" {Output: 549-MAOP-95KG, 519-TGGB-T985, 054-KPIO-M09K}

Return Values:
Function returns string of Password.


RegisterName
if you already registered this product, input your name (company name or customer name) here.
** you must set this value before call DecryptFile, DecryptString, EncryptString, EncryptFile, HashFile or HashString.

RegisterKey
if you already registered this product, input your registration key here.
** you must set this value before call DecryptFile, DecryptString, EncryptString, EncryptFile, HashFile or HashString.


ASP/Encrypt Component
CH.5 Example

ASP : Hash Data (MD5 Algorithm)
<%
Set Obj = Server.CreateObject("nonnoi_ASPEncrypt.ASPEncrypt" )

' MD5
Obj.HashAlgorithm = 0
Response.write Obj.HashString( Request("String") )

set Obj = nothing
%>


ASP : Encrypt Data (BlowFish Algorithm)
<%
Set Obj = Server.CreateObject("nonnoi_ASPEncrypt.ASPEncrypt" )

' BlowFish
Obj.CipherAlgorithm = 0
Response.write Obj.EncryptString( Request("String"), Request("Password") )

set Obj = nothing
%>


ASP (Registered User): Decrypt Data (BlowFish Algorithm)
<%
Set Obj = Server.CreateObject("nonnoi_ASPEncrypt.ASPEncrypt" )

Obj.RegisterName = "Nonnoi"
Obj.RegisterKey = "0123456-789"
' BlowFish
Obj.CipherAlgorithm = 0
Response.write Obj.DecryptString( Request("String"), Request("Password") )

set Obj = nothing
%>
5hoursez is offline  
Reply


Similar Threads Similar Threads
Encrypt/Decrypt
09/01/2010 - EO PServer Hosting - 9 Replies
Who can tell me how can i decrypt a password mage by the register page?:D
Encrypt/Decrypt Function
10/03/2009 - CO2 Programming - 12 Replies
I think I've found the wrapper for send() at 00536FDB but I cannot find any calls just before the actual winsock send that would encrypt data. Am I looking in the wrong place?
(Request) DeCrypt / Encrypt
05/04/2009 - RF Online - 6 Replies
Do you have any DeCrypt/Encrypt program what works for Item.edf in RFOph ? Thanks. :D
Alefclient.exe ansi-dump segment +Tsearch howto link +encrypt/decrypt details
12/04/2007 - Archlord - 8 Replies
006A444C PUSH alefclie.0081F0F4 Item_Bound_On_Owner 006A4499 PUSH alefclie.0081F0E0 Item_Bind_On_Use 006A44A9 PUSH alefclie.0081F0CC Item_Bind_On_Equip 006A44B9 PUSH alefclie.0081F0B4 Item_Bind_On_Acquire here is what you can get with OllyDbg (i was using 1.10) and that will give you some points to snoop out with tsearch (Memory Editor). I posted these links elsewhere, but read this link its a how...
Itemtype.DAT Encrypt/Decrypt
06/07/2007 - CO2 Exploits, Hacks & Tools - 1 Replies
I don't know who made this tool i found it in my C:&#092; folder named Project1.exe it has no company name nor does it have an about section. So i cannot take credit for this tool. It Encrypts and Decrypts the itemtype.dat file with a few clicks of the mouse, without having to be in the Conquer 2.0&#092;ini folder unlike the DeEn tool that was used for decrypting the Monster.dat. This tool should work for the Monster.dat file too. Just found it on my comp and thought i'd share it since its a bit...



All times are GMT +2. The time now is 07:04.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.