直接在Visual Studio代码编辑器中加密字符串文件

StringEncrypt是一款Visual Studio Code扩展,可方便地在源代码中安全加密和隐藏文本字符串及文件内容,借助多态引擎,每次生成不同的解密代码。支持多种编程语言,如JavaScript、Python和C/C++等。
摘要由CSDN通过智能技术生成

String encryption is used everywhere in desktop & mobile software. You might not even know about it, but it’s there and I’m going to show you how to do it easier and faster.

字符串加密在台式机和移动软件中无处不在。 您可能甚至不知道它,但是它在那里,我将向您展示如何更轻松,更快速地进行操作。

实际场景中的字符串加密 (String encryption in real-world scenarios)

You might ask, where is string encryption used exactly and why?

您可能会问,字符串加密到底在哪里使用,为什么?

Let me show you a list of real-world usages:

让我向您显示现实使用情况的列表:

  • License system messages are encrypted to prevent finding it easily with a hex-editor, for example, “Your license key is invalid!”. If a cracker / hacker finds it, he can easily find the code that references this string and find the license check code!

    许可证系统消息经过加密,以防止使用十六进制编辑器轻松找到它,例如, “您的许可证密钥无效!”。 如果破解者/黑客找到了它,他可以轻松地找到引用该字符串的代码并找到许可证检查代码!

  • Local database connection strings with usernames and passwords to the database are in 99% encrypted in some form. Both for desktop and mobile apps. You cannot avoid it in case of local database installations (like SQLite). You can leave it in plain text, but someone could steal it and use it to dump (steal) your database content in no time.

    具有用户名和密码的本地数据库连接字符串以某种形式进行了99%的加密。 适用于台式机和移动应用程序。 如果安装了本地数据库(如SQLite ),则无法避免。 您可以将其保留为纯文本格式,但是有人可以窃取它并立即使用它来转储(窃取)数据库内容。

  • Localized strings encryption will prevent unauthorized translations of your software (don’t laugh, but it’s a real problem if your software gets cracked it’s often to find it translated with some bogus strings in it like “Cracked by …”.

    本地化的字符串加密将防止未经授权地翻译您的软件(不要笑,但是,如果您的软件被破解,这是一个真正的问题,通常会发现其中包含一些伪造的字符串,例如“ Cracked by…”

  • API endpoints are often encrypted too. You cannot avoid putting it in the source code, but the best you can do to hide it — is to encrypt it.

    API端点也经常被加密。 您无法避免将其放入源代码中,但是隐藏起来最好的办法就是对它进行加密。

Why is it even used, why don’t you leave it in plain text? The answer is you can! But why make it easier for dishonest people to reveal your secrets?

为什么甚至使用它,为什么不以纯文本形式保留它呢? 答案是可以的! 但是,为什么要让不诚实的人更容易透露您的秘密呢?

Image for post
  • competition — stealing your data, using your databases

    竞争—使用数据库窃取数据
  • hackers — trying to exploit your infrastructure using all the intel they can find, including the data found in your software

    黑客-尝试使用他们可以找到的所有情报(包括在软件中找到的数据)来利用您的基础架构
  • crackers — trying to crack your software and make it available for free, leaving plain text strings in your software is like giving them road directions

    饼干—尝试破解软件并免费提供它,将纯文本字符串留在软件中就像给他们指明方向

开发人员的快速字符串和文件加密 (Fast string & file encryption for developers)

So how to do it easily? Well, you can always write your own encryptor for the strings or the files and use the same algorithm in your software to decrypt it.

那么如何轻松做到呢? 好吧,您始终可以为字符串或文件编写自己的加密器,并在软件中使用相同的算法对其进行解密。

But what if you work with multiple programming languages, like JavaSc

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值