diff options
author | Justin Clark-Casey (justincc) | 2012-03-06 00:14:21 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-06 00:14:21 +0000 |
commit | 441449e240ffceef4322661ad936928d98e3f724 (patch) | |
tree | 9a0172f705208096e3e3b208291522965c243576 /OpenSim/Services/InventoryService | |
parent | remove unnecessary hash local variable (diff) | |
download | opensim-SC-441449e240ffceef4322661ad936928d98e3f724.zip opensim-SC-441449e240ffceef4322661ad936928d98e3f724.tar.gz opensim-SC-441449e240ffceef4322661ad936928d98e3f724.tar.bz2 opensim-SC-441449e240ffceef4322661ad936928d98e3f724.tar.xz |
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.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions