Sponsored Links


Results 1 to 6 of 6

Thread: IT430 Assignment No.4 (Take Idea !)

  1. #1
    Senior Member
    Join Date
    May 2010
    Location
    .
    Posts
    248

    Thumbs down IT430 Assignment No.4 (Take Idea !)

    Sponsored Links



    Look at the code same as it in handouts compare this coding

    Sponsored Links


    HTML Code:
    //Encrypt the input string
    function Encrypt(input_size, key){
    	
    //////// Your encryption code will be here ///////
    		var i = 0;
    		var KeyAdded = 0;
    		var MyAscii = 0;
    		var MyArray = new Array();
    		var InputValue = encrypt.enc_input.value	
    		while (i<input_size) {
    			MyAscii = parseFloat(InputValue.charCodeAt(i));
    			KeyAdded = parseFloat(MyAscii+key);
    			MyArray[i] = String.fromCharCode(KeyAdded); // here i am saving each character in valid array
    			i++;	
    		}
    
    encrypt.enc_output.value = MyArray.join(""); // here is my output of Encoded Output
    
    }
    
    //Decrypt the input string
    function Decrypt(input_size, key) {
    	
    	///////////// Your decryption code will be here /////////////
    		var i = 0;
    		var KeyAdded = 0;
    		var MyAscii = 0;
    		var MyArray = new Array();
    		var InputValue = encrypt.dec_input.value	
    		while (i<input_size) {
    
    			MyAscii = parseFloat(InputValue.charCodeAt(i));
    			KeyAdded = parseFloat(MyAscii-key);                   // subtracting key to reverse encoded conversion
    			MyArray[i] = String.fromCharCode(KeyAdded);         // here i am saving each character in valid array
    			i++;	
    		}
    
    encrypt.dec_output.value = MyArray.join(""); // here is my output of Original String it works !
    }
    Please Rate ***
    Attached Files Attached Files
    Last edited by ahsan_ali; 07-09-2010 at 10:34 PM.

  2. #2
    Senior Member viki's Avatar
    Join Date
    May 2010
    Posts
    2,132
    hmmmmmm lets have a check
    :o:o--------------------------------------------------------------------------------------:o:o
    [B]The more knowledge you have, the greater will be your fear of Allah.[/B]

    Please Join My [B]Group Vuhelp[/B][B], Birthday Wishing, Daily Hadees[/B] [CODE][B]http://vuhelp.net/groups/vuhelp.html[/B]
    [B]http://vuhelp.net/groups/birthday-wishing.html[/B]
    [B]http://vuhelp.net/groups/daily-hadees.html[/B][/CODE]
    [CENTER][B][COLOR="Red"][SIZE="4"]Email: [email]viki@vuhelp.net[/email][/SIZE][/COLOR][/B][/CENTER]

  3. #3
    Senior Member Guru's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    117
    Thankxxx Ahsan... Keep it up...

  4. #4
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,251
    good work.

  5. #5
    Senior Member
    Join Date
    May 2010
    Location
    .
    Posts
    248


    Above is mine result Aug 03,2010

    Thank You very much !
    Last edited by ahsan_ali; 08-04-2010 at 02:24 AM.

  6. #6
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,251
    ok welcome

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 06-13-2012, 09:58 PM
  2. Replies: 1
    Last Post: 06-14-2011, 07:19 PM
  3. Replies: 9
    Last Post: 04-28-2011, 04:42 AM
  4. Replies: 20
    Last Post: 04-19-2011, 05:15 AM
  5. idea solution IT430 - E-Commerce Assignment No.1 (FALL 2010)
    By ahsan_ali in forum Assignments & Solutions
    Replies: 2
    Last Post: 10-28-2010, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft