Skip to content

文件加密 并且将文件名放在加密文件内,可以自释放。

License

Notifications You must be signed in to change notification settings

uk0/file_encryption

Repository files navigation

file_encryption

info

# 将文件加密并且将文件名写在index = 0
# 支持 'https://github.com/substantic/rain' 

example

#lib_self_release.rs


 ./gui/bin/task_unix + type +' ' +Key + ' '+ SelectFile+ ' ' + savedir +' ' +platform
 
 ./gui/bin/task_unix e test123 /Users/firshme/testfile  /Users/firshme/Desktop/work/file_encryption/  1

build

sudo port install x86_64-w64-mingw32-gcc

rustup target add x86_64-pc-windows-gnu

#                                                /toolchains/xxxxxxxx-apple-darwin/    
cp /opt/local/x86_64-w64-mingw32/lib/* ~/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-pc-windows-gnu/lib/


cargo build --target x86_64-pc-windows-gnu

macos

img

windows

img