Browse Source
Switched to SHA1 for the file hashing. This costs ms of time but ensures we won't get colliksions. Also is better distributed than md5
master
Switched to SHA1 for the file hashing. This costs ms of time but ensures we won't get colliksions. Also is better distributed than md5
master
Drew Short
10 years ago
8 changed files with 80 additions and 17 deletions
-
2engine/src/main/resources/hibernate/ImageHash.hbm.xml
-
12engine/src/main/scala/com/sothr/imagetools/engine/dto/ImageHashDTO.scala
-
13engine/src/main/scala/com/sothr/imagetools/engine/hash/HashService.scala
-
4engine/src/main/scala/com/sothr/imagetools/engine/image/ImageService.scala
-
4engine/src/main/scala/com/sothr/imagetools/engine/util/Timing.scala
-
2engine/src/test/resources/hibernate/ImageHash.hbm.xml
-
2engine/src/test/resources/logback-minimum-config.xml
-
58engine/src/test/scala/com/sothr/imagetools/engine/hash/HashServiceTest.scala
Write
Preview
Loading…
Cancel
Save
Reference in new issue