KeyScheduleCore (word) { Rotate(word); SBoxSubstitution (word); word[0] = word[0] XOR RCON[i]; } please give me the corresponding code in matlab.... please ...

1 view (last 30 days)
encryption

Accepted Answer

Walter Roberson
Walter Roberson on 29 Mar 2013
function KeyScheduleCore(word)
Rotate(word);
SBoxSubstitution(word);
word(1) = xor(word(1), RCON(i));
end

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!