From 03a3ec4f28bf494902d3046909474c7201542dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= Date: Mon, 28 May 2018 13:28:04 +0100 Subject: /usr/local/bin/fortune Suaviter in modo, fortiter in re. Se non e vero, e ben trovato. --- geheim.rb | 6 +++--- 1 file 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 -- cgit v1.2.3