我想用vb加密一个jpg格式的图片文件,应该如何实现呢
我想用vb加密一个jpg格式的图片文件,应该如何实现呢,不需要多少复杂的加密,只需要普通的图片软件无法打开就可以了,加密之后还可以重新还原[此贴子已经被作者于2016-11-25 15:32编辑过]
Private Declare Function icePub_encryptFile Lib "icePubDll.dll" (ByVal strFilename As String,ByVal strOutputFilename As String, ByVal strKey As String) As Integer Private Declare Function icePub_decryptFile Lib "icePubDll.dll" (ByVal strFilename As String, ByVal strOutputFilename As String, ByVal strKey As String) As Integer strkey ="This is a key" '加密 a2=icePub_encryptFile("e:\a.jpg","e:\a.dat",strkey ) '解密 a2 = icePub_decryptFile("e:\a.dat", "e:\a.jpg", strkey )