lib/munge/routers/fingerprint.rb in munge-0.14.0 vs lib/munge/routers/fingerprint.rb in munge-0.15.0
- old
+ new
@@ -37,10 +37,10 @@
"#{pre}#{@separator}#{asset_hash}.#{extension}"
end
end
def hash(content)
- Digest::MD5.hexdigest(content)
+ Digest::SHA256.hexdigest(content)
end
def disassemble(path)
extension = Util::Path.extname(path)
path_without_extension = Util::Path.path_no_extension(path)