add dithering example
This commit is contained in:
14
bin/encrypt
Executable file
14
bin/encrypt
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
file = ARGV.pop || raise("please supply a filename")
|
||||
|
||||
raise("file '#{file}' does not exist") unless File.exist?(file)
|
||||
|
||||
%x(
|
||||
openssl \
|
||||
aes-256-cbc \
|
||||
-in #{file} \
|
||||
-out #{file}.enc \
|
||||
-pass file:secret.key \
|
||||
-iter 1000000
|
||||
)
|
||||
Reference in New Issue
Block a user