- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for feistel (0.17 sec)
-
src/crypto/des/cipher.go
right = (right << 1) | (right >> 31) for i := 0; i < 8; i++ { left, right = feistel(left, right, c.cipher1.subkeys[2*i], c.cipher1.subkeys[2*i+1]) } for i := 0; i < 8; i++ { right, left = feistel(right, left, c.cipher2.subkeys[15-2*i], c.cipher2.subkeys[15-(2*i+1)]) } for i := 0; i < 8; i++ { left, right = feistel(left, right, c.cipher3.subkeys[2*i], c.cipher3.subkeys[2*i+1]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4K bytes - Viewed (0) -
src/crypto/des/block.go
left = (left << 1) | (left >> 31) right = (right << 1) | (right >> 31) if decrypt { for i := 0; i < 8; i++ { left, right = feistel(left, right, subkeys[15-2*i], subkeys[15-(2*i+1)]) } } else { for i := 0; i < 8; i++ { left, right = feistel(left, right, subkeys[2*i], subkeys[2*i+1]) } } left = (left << 31) | (left >> 1) right = (right << 31) | (right >> 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 6.5K bytes - Viewed (0)