add dithering example

This commit is contained in:
David Eisinger
2024-02-12 17:15:43 -05:00
parent 4012b4dc03
commit 0669cd273b
5 changed files with 42 additions and 5 deletions

14
bin/encrypt Executable file
View 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
)