Skip to content

eminom/pyciphermod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to configure this module.(Again)

#! /usr/local/bin/ruby

cur_path = File.dirname(FILE.encode("UTF-8")) cur_path = File.absolute_path(cur_path)

def run_dir(start_path) exec = "/Users/eminom/test/python/pyciphermod/encrypt.py" #This is where you put this. key = "some-key-as-you-know" sig = "some-special-string-very-special"

Dir.glob("#{start_path}/**/*.lua") do |file|
	if not system("python3 #{exec} #{file} #{key} #{sig}") then
		puts $?
		exit
	end
end

end

run_dir("#{cur_path}/../src") puts "ecryption done."

The encryption is done with inplace style.

About

Encrypt binary files with xxtea.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published