Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Bit strength of JSESSIONID?

Participant ,
Aug 10, 2011 Aug 10, 2011

Our security folks are proposing new coding standards, one being "Use session identifiers of at least 128 bits long". Sorry if I missed it, but I can't find how many bits is JSESSIONID, does anyone know?

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Aug 10, 2011 Aug 10, 2011

You should be able to work this out for yourself.

Looking @ a jsessionid value, you can see it's a 36 digit hexadecimal number.  Each hexadecimal digit is four bits long.  36x4=144 bits.

As an aside, I'm rather surprised it's 36 digits long, rather than just a UUID (32 digits long).  Anyone else know why?

--

Adam

Translate
LEGEND ,
Aug 10, 2011 Aug 10, 2011

You should be able to work this out for yourself.

Looking @ a jsessionid value, you can see it's a 36 digit hexadecimal number.  Each hexadecimal digit is four bits long.  36x4=144 bits.

As an aside, I'm rather surprised it's 36 digits long, rather than just a UUID (32 digits long).  Anyone else know why?

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 10, 2011 Aug 10, 2011

Thanks Adam. hexadecimal? bits long? I never understood that kind of math!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 10, 2011 Aug 10, 2011
LATEST

I guess I'm old school... we needed to know this stuff back when I started out.  I s'pose it's less important to know these days.

But that's no reason for you to not find out:

http://en.wikipedia.org/wiki/Hexadecimal

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources