是否可以在php中创建一个可由c ++程序读取和解密的加密文件? [英] Is it possible to create an encrypted file in php that is readable and decryptable by a c++ program?

查看:70
本文介绍了是否可以在php中创建一个可由c ++程序读取和解密的加密文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在php中创建一个可由c ++程序读取和解密的加密文件?



我需要创建一个可以读取的加密文件并且由标准c ++程序解密,即文件必须在任何可以运行c ++程序的操作系统中可读。

Is it possible to create an encrypted file in php that is readable and decryptable by a c++ program?

I need to create an encrypted filr that can be read and and decrypyted by a standard c++ program I.e the file must be readable in any os that can run c++ program.

推荐答案

当然有可能,只要这两个程序使用相同的算法(和相同的密钥)。
Of course it is possible, provided the two programs use the same algorithm (and the same key).


这篇关于是否可以在php中创建一个可由c ++程序读取和解密的加密文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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