spacer
Yehuda Shiran January 14, 2000
Encryption Level Detection
Tips: January 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

As E-Commerce grows in popularity, so does the need for a secure transfer protocol hosted by the browser. Currently, browsers support two levels of security: 40 bits and 128 bits. The first security level (40 bit) is the base common level, for domestic and international usage. The second level (128 bit) is restricted to domestic usage only.

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".


People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint