Data Encryption

Mary Regina
Mary Regina used Ask the Experts™
As a part of my project, I want to encrypt user defined data using an unbreakable encryption algorithm. I have got one AES algorithm. But it accepts plaintext as
 plaintext_hex = {'00' '11' '22' '33' '44' '55' '66' '77' ...
                 '88' '99' 'aa' 'bb' 'cc' 'dd' 'ee' 'ff'};
I am doing my project in matlab.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015

Matlab compiler encrypts matlab code and ships the keys as part of runtime.
So how do you decrypt data?
How do you consume and process data now (.m file)
It is up to the user to encrypt his data right outside matlab.
Exec Consultant
Distinguished Expert 2018
AES goes with block of 128bits so the array per row is 8 hex each. Suggest you catch this example and test if alright for sample reference to guide you along.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial