summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Bütow <pbuetow@mimecast.com>2018-05-28 13:28:04 +0100
committerPaul Bütow <pbuetow@mimecast.com>2018-05-28 13:28:04 +0100
commit03a3ec4f28bf494902d3046909474c7201542dad (patch)
treeca9a82ffddcb0f8bdc3ff021432c96b83470a5a1
parent3320577f12f5cbd473cd5dc6079c417a76344301 (diff)
/usr/local/bin/fortune
Suaviter in modo, fortiter in re. Se non e vero, e ben trovato.
-rw-r--r--geheim.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/geheim.rb b/geheim.rb
index 9460c56..aa8f6f2 100644
--- a/geheim.rb
+++ b/geheim.rb
@@ -68,10 +68,10 @@ module Encryption
super()
if @@key.nil?
@@key = File.read($key_file)
- if ENV['IV']
- input = ENV['IV']
+ if ENV['PIN']
+ input = ENV['PIN']
else
- print "IV: "
+ print "PIN: "
input = $stdin.gets.chomp
end
iv = input * 2 + "Hello world" + input * 2