Project

General

Profile

Defect #30171 » 0001-Update-ciphering.rb.patch

patch by Nik Il - Go MAEDA, 2018-12-10 07:38

View differences:

lib/redmine/ciphering.rb
c.iv = iv
e = c.update(text.to_s)
e << c.final
"aes-256-cbc:" + [e, iv].map {|v| Base64.encode64(v).strip}.join('--')
"aes-256-cbc:" + [e, iv].map {|v| Base64.strict_encode64(v)}.join('--')
end
end
(1-1/2)