制作批处理文本文档加密器&解密 [英] Making A Batch Text Document Encryptor & Decryptor

查看:80
本文介绍了制作批处理文本文档加密器&解密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在制作一个文本文件cryptor&解密。以下是它的工作原理:

I am currently making a text document cryptor & decryptor. Here is how it will work:

 

要加密正常的ENGLISH文本文档(* .txt),只需拖放即可将文本文档放到批处理文件中。然后,它将输出带有附加"_C"的加密文件。在名称之后,不是EXTENSION(例如"Hello.txt"输出到"Hello_C.txt")。
解密加密文本文档的过程与加密它们的工作方式类似。您所要做的就是将加密文档拖放到解密器批处理文件上,然后输出一个带有附加"_DC"文件的文件。在文件名中,不再是
之后的扩展名。所以,这是一个将要发生的事情的例子:

To make a normal ENGLISH text document (*.txt) encrypted, just drag and drop a text document onto the batch file. It will then output the encrypted file with an additional "_C" after the name, NOT THE EXTENSION (ex. "Hello.txt" outputted to "Hello_C.txt"). The process of decrypting crypted text documents will work similar to crypting them. All you will have to do is drag and drop the crypted document onto the decryptor batch file, and it will output a file with an additional "_DC" in the filename, not after the extension, once again. So, here is an example of what will happen:

 

For Crypting:

For Crypting:

  ;

1。我将普通文本文档("Hello.txt")拖放到加密批处理文件中。

1. I drag and drop a normal text document ("Hello.txt") onto the cryptor batch file.

2。它输出一个全新的文件("Hello_C.txt")。

2. It outputs a whole new file ("Hello_C.txt").

3。我试着读它。我不能,因为它是加密的。

3. I try to read it. I can't because it is encrypted.

 

对于解密:

 

1。我拖放一个加密的文本文档(例如Hello_C.txt。它不必在文件名中有额外的"_C",好吗?)到解密器批处理文件上。

1. I drag and drop a crypted text document (ex. Hello_C.txt . It doesn't have to have the additional "_C" in the filename, okay?) onto the decryptor batch file.

2。它输出一个名为"Hello_DC.txt"的全新文件。

2. It outputs a whole new file called "Hello_DC.txt".

3。我试着读它。我可以,因为它现在被解密了。 YAY!

3. I try to read it. I can because it is now decrypted. YAY!

 

这就是它的工作原理。有人可以向我解释为了做到这一点我需要做些什么吗?喜欢给我命令和东西吗?

So that is how it will work. Can someone please explain to me what I need to do in order to make this? Like give me the commands and stuff?

推荐答案

它必须是批处理吗?  可以是VBScript还是PowerShell?

Does it have to be batch?  Could it be VBScript or PowerShell?

您是否有任何脚本编写经验?

Do you have any scripting experience?


这篇关于制作批处理文本文档加密器&解密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆