加密和解密文本文件 [英] encryption and decryption of text files

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

问题描述

大家好,

我有一些文本文件。我需要加密文件,然后再次解密。这是我第一次加密和解密。我想要一些关于如何以最佳方式实现这一目标的建议。我的项目需要它。


加密和解密解决方案应该是完美的,除非他/她知道(安全措施),否则没有其他人应该能够破解密钥


提前感谢

解决方案

您的问题不明确。


如果您只想知道如何加密一个文件,最简单的方法是使用特殊键对每个字符进行AND / OR运算。

然后只对具有该键的字符执行反向操作可以解密文件。

但是如果你想加密文件以保证其安全性,请查看一些有关加密的文档,你会发现高级密钥和算法。


大家好,

我有一些文本文件。我需要加密文件,然后再次解密。这是我第一次加密和解密。我想要一些关于如何以最佳方式实现这一目标的建议。我的项目需要它。


加密和解密解决方案应该是完美的,除非他/她知道(安全措施),否则没有其他人应该能够破解密钥


提前感谢


出于好奇,要加密的文件中有哪些类型的数据?


< blockquote> Ya我也应该问过,

我的建议仅适用于文本或doc文件。


出于好奇,什么数据类型是否在要加密的文件中?


Hi guys,
I have some text files. I need to encrypt the files and then decrypt it again. This is my first experience in encryption and decryption. I want some suggestions about how this can be achieved in best way. I need it for my project.

The encryption and decryption solution should be perfect such that nobody others should be able to break the key unless he/she know it( security measures)

thanks in advance

解决方案

Your question is not clear.

If you want to know only how to encrypt a file,the easiest way is to AND/OR each character present with a special key.
Then only performing reverse operation on the chars with that key can decrypt the file.
But if you want to encrypt file to make it verrrrrrrrry secure,go through some documents regarding encryption,there you will find advanced keys,and algorithms.

Hi guys,
I have some text files. I need to encrypt the files and then decrypt it again. This is my first experience in encryption and decryption. I want some suggestions about how this can be achieved in best way. I need it for my project.

The encryption and decryption solution should be perfect such that nobody others should be able to break the key unless he/she know it( security measures)

thanks in advance


Out of curiosity, what type of data is in the file to be encrypted?


Ya I should have asked that also,
my suggestion will work for only text or doc files.

Out of curiosity, what type of data is in the file to be encrypted?


这篇关于加密和解密文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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