dividing input of type char into blocks of equal size with zero padding if needed

1 view (last 30 days)
hi I need to implement cbc mode with rc6 algorithm so far I did the rc6 algorithm but I have a problem of how to divide the input into equal blocks and then encrypt each block , can anyone tell me how to divide the input to blocksof equal size with zero padding if needed

Answers (1)

Walter Roberson
Walter Roberson on 16 Jul 2017

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!