for my own satisfaction, im trying to make a program that does AES encryption, but ive run into a problem: i cant find an efficient way to us the s-box, and i would rather not have a switch statement with 256 cases. what could i do to do this effieciently.
mebob 0
Junior Poster in Training
Recommended Answers
Jump to PostHash table?
Jump to PostIt looks like an array with 256 entries to me.
All 5 Replies
Dave Sinkula 2,398
long time no c Team Colleague
mebob 0
Junior Poster in Training
Salem 5,138
Posting Sage
mebob 0
Junior Poster in Training
robertl2 0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.