Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javax.crypto des sbox

Is there anyway i can retrieve the sbox information from the javax.crypto package?

I come across this site that show the sboxes of des alogrithm. http://www.gymnase-yverdon.vd.ch/branches/mathematique/cryptographie/textes/s_boxes.htm

But i suspect different developers have different implementation on the sbox in another word, it does not mean everyone implement des will use similar sbox value.

Greatly appreciate if anyone can help me with the sbox question.

like image 571
teppel Avatar asked Nov 05 '22 20:11

teppel


1 Answers

I agree with @sarnold. DES algorithm uses exactly eight sboxes in "Feistel" function in Substitution stage.

However you can not find the sbox imformation in javax.crypto package since it is a specification, not a implementation. you can find sbox imoformation in

com.sun.crypto.provider package or

bouncy castle implementations or any other provider.

like image 90
Janith Avatar answered Nov 12 '22 17:11

Janith