Hiding encryption key via p-file?

How safe would it be safe to store an encryption key in a p-file within a switch-case statement? I was reading that it is possible to use the debugger to extract variables from a p-file.
However, I read here that switch is a function that cannot be be shadowed: https://www.mathworks.com/matlabcentral/newsreader/view_thread/271697 Can someone clarify this for me?
Thanks!

1 件のコメント

Anudeep Katragadda
Anudeep Katragadda 2016 年 12 月 19 日
This is from MATLAB documentation that can be found here: https://www.mathworks.com/help/matlab/matlab_prog/protect-your-source-code.html
When MATLAB P-codes a file, the file is obfuscated not encrypted. While the content in a .p file is difficult to understand, it should not be considered secure. It is not recommended that you P-code files to protect your intellectual property.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEncryption / Cryptography についてさらに検索

質問済み:

2016 年 12 月 1 日

コメント済み:

2016 年 12 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by