Encryption And Decryption By Aes Using Ecdh Key?
Nov 3, 2009i need to know how do encryption by aes using ecdh key in java.
View 1 Repliesi need to know how do encryption by aes using ecdh key in java.
View 1 RepliesIs there any way how to encrypt some html text in php and afterwards decrypt it with javascript and send it with form?
Example:
<input type="hidden" value="password"/>
I don't want to have seen value "password" in html source code but I need to send the value by form...
I would like to implement a simple javascript code encryption(XOR,
unicode, etc) using javascript. Could someone tell me where to find a
ready javascript implementation of XOR (or of another very known
algorithm, simple) for html page? I want that encryption method works
reliable on most browsers, at least on MSIE + Firefox + Netscape. As
html page based encryptor.
First i need encrypt javascript use some algorithm, that provides
compact output. When the protected script first starts, a small
decrypter stub is first run that restores all of the original script
commands for the browser. (encoded scripts will have a decoder stub
prefixed before the code that is actually executed). This method will
provide protection from machines, like email harvesters, bots, software
etc - not from human. But this is fully enough for me.
Yes, I know it's not a solid form of encryption, but this was not my goal when beginning this script. It simply provides a simple encryption when you want things hidden and not read too easily.
Essentially the script takes in a string and a password and uses the password as a key to encrypt the string. It can be used to encrypt short messages or entire pages.
I personally have set up a prompt asking for the password, but you could also use a textbox. You could also set up cookies to remeber the password while the user is on your site, but then you must leave the password in the cookie unencrypted.
I've been working on RSA encryption using javascript and php for quite some time but i'm not able to do it properly. i'm using the standard RSA.js,BigInt.js and Barrett.js javascript files for the javascript part but the thing that i have noticed is the public exponent is always 10001 or 3 . only then the function works. but the problem is the php file generates a comparatively larger public key exponent. if i use that in the javascript function it crashes.
View 1 Replies View RelatedI am having trouble with a script that works with the link invisibly which you can see the cursor change to a pointer hand when hovering next to "Email:".It would show if you placed the script in the body portion of a blank HTML page.In my website below I can't figure out why the link doesn't show and is invisible.This emailHide.html.txt file is below, to view in HTML remove the .txt extention and save and view in browser.
View 4 Replies View RelatedI am working on an ajax application to upload and download encrypted files (AES, 128 bit). The encryption has to be on the client side before sending it to the server.
1. Upload The secret key is stored in a javascript variable during the session. To upload a file, javascript code will show a prompt file dialog and the user will select the file. On hitting submit button a javascript code will call a method in a java applet (with secret key and filename as parameters) that will read the file, encrypt it and sent to the server. I am still coding this but seems to me there will be no problem, the applet even doesn't need to be signed.
2. Download This is where I have the problem.I want the user to click the link, the file should be downloaded, decrypted and opened or 'saved as..'. Is this possible to do in a way that the user doesn't have to do intermediate steps, like 1. Download, 2. Decrypt. 3 Open by the corresponding application ? Right now the idea is to use XMLHttpRequest to download the file into a javascript variable and pass it to the applet, the applet will decrypt and save the file into a temporal directory on the user's computer. After that javascript will present a link that the user will click to open the file. But that are 2 steps and I have to sign the applet to be able to write files. Is there a way to do this as a single process (with an unsigned applet) and at the end to show the 'Save as...' dialog so the user will decide wether to save it or to open with some application?