[feat] use AES to encrypt image names

This commit is contained in:
dijunkun
2024-11-12 17:30:28 +08:00
parent 526eb4bb31
commit f9d024e971
9 changed files with 379 additions and 198 deletions

View File

@@ -802,8 +802,9 @@ int Render::Run() {
DestroyStreamWindowContext();
if (dst_buffer_) {
thumbnail_.SaveToThumbnail((char*)dst_buffer_, video_width_,
video_height_, host_name_, remote_id_);
thumbnail_.SaveToThumbnail(
(char*)dst_buffer_, video_width_, video_height_, host_name_,
remote_id_, remember_password_ ? remote_password_ : "");
recent_connection_image_save_time_ = SDL_GetTicks();
}