Can we use Php or Html language for encryption of data? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can we use Php or Html language for encryption of data?

implementing Aes or Other algorithms of encryption....In web based language

30th Sep 2018, 5:28 PM
Vrushabh Rajkumar Daware
Vrushabh Rajkumar Daware - avatar
7 Answers
+ 1
HTML is a programming language just for look designs and presentation, you can't use it for encryption
3rd Oct 2018, 12:08 AM
Piri Reis Athary
Piri Reis Athary - avatar
+ 3
I don't think HTML can help with the encryption, as it is a presentation layer of websites, PHP probably makes more sense. I'm not too sure whether hashing is in any way related with encryption, but PHP supports hashing with several methods, you can see here: http://php.net/manual/en/function.hash.php Hth, cmiiw
30th Sep 2018, 6:14 PM
Ipang
+ 3
Maybe you were referring to JavaScript? I don't recall HTML supports loops nor arrays, HTML is a markup language only for presentation of web user interface.
30th Sep 2018, 8:06 PM
Ipang
+ 3
Overall after some searches ...Ans is NO....as HTML is used for purpose of presentation so it isn't possible to program encryption alogorithm using it.... I appreaciate your opinions thanks guys
1st Oct 2018, 4:18 AM
Vrushabh Rajkumar Daware
Vrushabh Rajkumar Daware - avatar
+ 2
ok sir
30th Sep 2018, 5:32 PM
Vishal Mahawar
Vishal Mahawar - avatar
+ 2
I was thinking so....but html also allows loops and arays ...therefore, may be it should be possible
30th Sep 2018, 6:56 PM
Vrushabh Rajkumar Daware
Vrushabh Rajkumar Daware - avatar
+ 1
thanks for your information
2nd Oct 2018, 4:31 AM
Nata Safitri
Nata Safitri - avatar