パスワードを作成するRubyスクリプト makepass.rb を作りました。無保証ですので、使いたい方は自己責任で。 # makepass.rb require 'io/console' require 'digest/sha2' require 'base64' require 'win32/clipboard' Win32::Clipboard.set_data('') STDIN.noecho do |io| puts "Hit many keys randomly." s = io.gets while s.length < 100 puts "I need more random keys." s += io.gets end d = Digest::SHA512.digest(s) e = Base64.encode64(d) e.gsub!(/[\+\/=\n]/, '')