フィルターのクリア

How to apply AES algorithm on Sound, Image and Video File????

1 回表示 (過去 30 日間)
Kushal Khaitan
Kushal Khaitan 2013 年 1 月 9 日
Hi,
I want to apply AES algorithm on sound image and video file. For that I need to convert them in text file. How should I go about it. Plz help.
  2 件のコメント
Jan
Jan 2013 年 1 月 9 日
Before you ask a new question, it would be helpful if you answer our question about your former question at first.

サインインしてコメントする。

採用された回答

Jan
Jan 2013 年 1 月 9 日
編集済み: Jan 2013 年 1 月 9 日
No, there is no reason to convert the file to a text file. AES can encrypt the binary contents of the file directly, because any file can be interpreted as sequence of bytes.
fid = fopen(FileName, 'r');
if fid == -1, error('Cannot open file'); end
data = fread(fid, Inf, '*uint8');
fclose(fid);
All AES implementations I've ever seen work on Byte arrays.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by