
27.01.2017, 19:43
|
 |
Администратор
|
|
Регистрация: 03.10.2005
Адрес: Россия, Москва
Сообщения: 1,553
Версия Delphi: Delphi 7
Репутация: выкл
|
|
Цитата:
Сообщение от Bomj
if (!ReadFromFile(new_path.c_str(), in,inSize))читаю зашифрованый фаил
{
if (!aes.Decrypt( in, inSize)) {
showmessage ("aes Decrypt failed");
}
if (!WriteToFile(new_path.c_str(), aes.data(), aes.size())) {
showmessage ( "write to file failed)";
}
showmessage("new_path.c_str() Decrypt) ;
Постоянно выводит "aes Decrypt failed"
if (!aes.Decrypt( in, inSize)) {
showmessage ("aes Decrypt failed");
Может читаю не правильно или записываю???
|
А делфи тут причем?
|