Home
last modified time | relevance | path

Searched refs:SBox (Results 1 – 2 of 2) sorted by relevance

/plugin/dokucrypt/
H A Dscript.js487 var SBox = [ variable
572 if (direction == "encrypt") { S = SBox; } // Point S to the SBox we're using
654 temp = ( (SBox[(temp>>8) & 0xFF]) |
655 (SBox[(temp>>16) & 0xFF]<<8) |
656 (SBox[(temp>>24) & 0xFF]<<16) |
657 (SBox[temp & 0xFF]<<24) ) ^ Rcon[Math.floor(j / Nk) - 1];
659 temp = (SBox[(temp>>24) & 0xFF]<<24) |
660 (SBox[(temp>>16) & 0xFF]<<16) |
661 (SBox[(temp>>8) & 0xFF]<<8) |
662 (SBox[temp & 0xFF]);
/plugin/dokucrypt2/
H A Dscript.js558 // Precomputed lookup table for the SBox
559 var SBox = [ variable
579 // Precomputed lookup table for the inverse SBox
644 if (direction == "encrypt") { S = SBox; } // Point S to the SBox we're using
726 temp = ( (SBox[(temp>>8) & 0xFF]) |
727 (SBox[(temp>>16) & 0xFF]<<8) |
728 (SBox[(temp>>24) & 0xFF]<<16) |
729 (SBox[temp & 0xFF]<<24) ) ^ Rcon[Math.floor(j / Nk) - 1];
731 temp = (SBox[(tem
[all...]