Store .mat files as protected files

9 ビュー (過去 30 日間)
Jack
Jack 2014 年 8 月 8 日
編集済み: Jan 2014 年 8 月 11 日
Hi. I was searching for a method to encrypt .mat files. I find some pages like :
Some of the links can't work in first page. I have a GUI that create some .Mat files (Databases). I want protect or encrypt these databases. I want only my program read these files not other third party programs and users.
How can I do this? My MATLAB version is R2014a .
Thanks.

回答 (1 件)

Jan
Jan 2014 年 8 月 11 日
編集済み: Jan 2014 年 8 月 11 日
It depends on the required level of security.
It would be relatively easy to create a function, which encrypts Matlab arrays before calling save. But either the encryption method is such weak, that it takes only minutes to break it. Or the encryption is strong and the US export restrictions do not allow to publish the corresponding commands to avoid, that evil persons encypt their evil plans. (I do not have any sympathies for terrorists.)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by