January 14, 2000 - Encryption Level Detection
January 14, 2000 Encryption Level Detection Tips: January 2000
Yehuda Shiran, Ph.D.
|
Financial institutions on the Web need to ensure the security level of their clients before they do business on the Internet. The following JavaScript line will do the trick in Navigator, when entered in the URL box:
javascript:document.write(navigator.userAgent +"<BR>")
The output of this line will be the following:
Mozilla/4.08 [en] (Win98; I ;Nav)
The character "I" is the International version of the security algorithm, i.e. the 40 bit encryption version. The domestic version (128 bit) uses the "U" character (for USA):
Mozilla/4.08 [en] (Win98; U ;Nav)
See more examples for using the navigator.userAgent
property in Column 47, A DOM-Based Snakes Game, Part II".