0
How can I encrypt in html?
Hi! Do you know how to encrypt “textarea” on html?
20 ответов
+ 2
If you want to encrypt it on the way to the server, use JavaScript. Else use a server side language like php. Maybe TLS (https) is enough, but I don't know your usecase so I can't say which of these options fit your needs.
+ 1
In which way do you want to encrypt in the text area?
Basically, you could simply replace the input with your encrypted version...
+ 1
I don't understand what exactly you want to do.
Link your code and describe what it should look like encrypted.
0
Sorry, I know just a little about coding, can you be more specific?
0
Do you want it to look like a password field?
Maybe this helps:
https://stackoverflow.com/questions/12895774/how-to-make-a-textarea-act-like-a-password-field
Is it important that is a text area? Or would a simple text field suffice?
0
No it’s not. A simple text field suffice
0
Then you can make an input of type password like in this example?
https://www.w3schools.com/Tags/att_input_type_password.asp
0
If I'm boring you I'm sorry. Anyway, what I need is a text field where I can write. Once I wrote something in there and I send it I need something to encrypt it. In fact this text will contain sensitive information and I don't want that someone intercepts the text . I hope I explained it well, if not I'll retry.
0
Wouldn't the encryption occur on server communication (and not directly on the html)?
0
I don’t know :) So what I need to do to obtain what I described to you?
0
I need to do something out html?
0
Do you want to send data? Or do you just want the dots ●●● when some types text?
0
No dots, just send data
0
I don't know about it, but you would need something more than just html
0
Ok, cool. I’ll try it further. Thank you so much for your time.
0
I'd use php to encrypt data.
You can write it with the html, but it's executed by the server, so the user doesn't see how you encrypted the text (nor if you encrypted it at all).
0
JavaScript or php can be used, just like how you encrypt text using java or python, but they have different syntax of course, you can't do that by knowing html only.
0
Thank you all!
0
Use js to encrypt your html