summaryrefslogtreecommitdiff
path: root/geheim.rb
diff options
context:
space:
mode:
Diffstat (limited to 'geheim.rb')
-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