View Full Version : IT430 E-Commerce Assignment 4 Deadline 30 June 2010
The task is very simple; you have to work on two functions Encrypt and Decrypt. The encrypt function will encrypt the user input string with the help of encryption key. The decrypt function will decrypt the user input string with the help of encryption key. The output will
408
faizashoukat
06-28-2010, 02:03 AM
plz provide me it430 coding i dnt understand as soon as possible plz help me faiza
<html>
<head><title>IT430 :: Assignment 4</title>
</head>
<body>
<script language="javascript" type="text/javascript">
var str1= "Hello";
var key =15;
var vcode ="";
document.write("Now Scrambling Hello to meaningless "+"<BR>");
for (i=0;i<str1.length;i++)
{
vcode = (parseInt(str1.charCodeAt(i)+key));
document.write(String.fromCharCode(vcode));
}
</script>
</body>
</html>
ahsan_ali
07-16-2010, 03:28 AM
plz provide me it430 coding i dnt understand as soon as possible plz help me faiza
Faiza i hope you will understand coding from here goto below link
http://vuhelp.net/assignments-solutions/715-it430-assignment-no-4-take-idea.html
This assignment based on array() function , chr() fuction which converts ASCII value of string into character
Suppose letter "A" the ASCII value of "A" will be 65
Xpert
07-16-2010, 03:31 AM
Good answer ahsan. and your avatar is really good.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.