From 441449e240ffceef4322661ad936928d98e3f724 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 6 Mar 2012 00:14:21 +0000 Subject: Switch to sha256 from sha1 in order to avoid future asset hash collisions. Some successful collision attacks have been carried out on sha1 with speculation that more are possible. http://en.wikipedia.org/wiki/Cryptographic_hash_function#Cryptographic_hash_algorithms No successful attacks have been shown on sha256, which makes it less likely that anybody will be able to engineer an asset hash collision in the future. Tradeoff is more storage required for hashes, and more cpu to hash, though this is neglible compared to db operations and network access. --- prebuild.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'prebuild.xml') diff --git a/prebuild.xml b/prebuild.xml index 79814ac..030d232 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -2051,9 +2051,10 @@ ../../../bin/ - + + -- cgit v1.1