Home
last modified time | relevance | path

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

/plugin/dokucrypt3/
H A Dcrypto_low-level.js60 var SBox = [ variable
145 if (direction == "encrypt") { S = SBox; } // Point S to the SBox we're using
227 temp = ( (SBox[(temp>>8) & 0xFF]) |
228 (SBox[(temp>>16) & 0xFF]<<8) |
229 (SBox[(temp>>24) & 0xFF]<<16) |
230 (SBox[temp & 0xFF]<<24) ) ^ Rcon[Math.floor(j / Nk) - 1];
232 temp = (SBox[(temp>>24) & 0xFF]<<24) |
233 (SBox[(temp>>16) & 0xFF]<<16) |
234 (SBox[(temp>>8) & 0xFF]<<8) |
235 (SBox[temp & 0xFF]);
/plugin/dokucrypt/
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/
Dscript.js559 var SBox = [ variable
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[(temp>>24) & 0xFF]<<24) |
732 (SBox[(temp>>16) & 0xFF]<<16) |
733 (SBox[(temp>>8) & 0xFF]<<8) |
734 (SBox[temp & 0xFF]);