Jump to content

Encryption in HTML

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
Crane

Crane

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 398 posts
I need to encrypt something in HTML.
Is this possible?

#2
Void

Void

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 411 posts
Yes, you can with Java script but anyone can see your source and then decrypt it. Why would you want to encrypt anything in HTML anyway????
Void

#3
TkTech

TkTech

    The Crazy One

  • Moderators
  • 1,396 posts
Yeh, what could you put in html? If it was a web php app i could understand but just html?

#4
dirkfirst

dirkfirst

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 354 posts
I wouldn't put anything in HTML that you consider sensitive

#5
DevilsCharm

DevilsCharm

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 884 posts

Void said:

Yes, you can with Java script but anyone can see your source and then decrypt it. Why would you want to encrypt anything in HTML anyway????

Actually, you can set your web pages so that people can't see your source, although I think it takes away from the friendliness a page has.

#6
Dan

Dan

    Programmer

  • Members
  • PipPipPipPip
  • 145 posts
Of course, I'm guessing the javascript would only work for IE, so anyone with firefox/opera/netscape could quite easily see!

Give more details on the information you are encrypting and I'm sure I could reccomend a solution!