Skip to content

Releases: JuliaCrypto/SHA.jl

Performance improvements

09 Apr 21:06
Compare
Choose a tag to compare

Many thanks to @stevengj and @gdkrmr for their work on improving SHA.jl performance. As an example the time required to sha256() an 87MB file dropped from 0.85 seconds to 0.50 seconds on Julia 0.6.2.

Bump Compat requirement

23 Jan 19:07
62e0924
Compare
Choose a tag to compare
v0.5.6

Bump Compat requirement

Performance improvements and 0.7 compatibility

23 Jan 18:52
af7239e
Compare
Choose a tag to compare
More 0.7 compat (#52)

* `copy!()` -> `copyto!()`

* Quash more 0.7 compatibility bugs

* Require at least Compat 0.38

SHA3 optimizations

22 Jan 20:33
Compare
Choose a tag to compare

@dcjones contributed significant performance improvements to SHA3 (and some smaller benefits to SHA1/2 as well) while simultaneously reducing memory churn.

Previous performance on a 90MB file:

$ julia perf.jl ~/.julia/v0.6/BinaryBuilder/deps/downloads/rootfs-x86_64-apple-darwin14.tar.gz
read:      0.286516 seconds (6 allocations: 94.493 MiB, 32.75% gc time)
SHA-1:     0.569073 seconds (7 allocations: 960 bytes)
SHA2-256:   1.771765 seconds (6 allocations: 512 bytes)
SHA2-512:   1.289397 seconds (6 allocations: 656 bytes)
SHA3-256:   6.475997 seconds (728.55 k allocations: 88.935 MiB, 0.03% gc time)
SHA3-512:  13.375748 seconds (1.38 M allocations: 167.987 MiB, 0.02% gc time)

New performance on the same file:

$ julia perf.jl ~/.julia/v0.6/BinaryBuilder/deps/downloads/rootfs-x86_64-apple-darwin14.tar.gz
read:      0.203022 seconds (6 allocations: 94.493 MiB, 33.68% gc time)
SHA-1:     0.411811 seconds (7 allocations: 960 bytes)
SHA2-256:   1.460679 seconds (6 allocations: 512 bytes)
SHA2-512:   0.923359 seconds (6 allocations: 656 bytes)
SHA3-256:   1.568745 seconds (8 allocations: 992 bytes)
SHA3-512:   2.983240 seconds (8 allocations: 960 bytes)

Abstract out some hashing utilities

12 Jan 18:49
939e8f5
Compare
Choose a tag to compare

Performance and compatibility updates

01 Nov 10:27
Compare
Choose a tag to compare

sha256(open("foo")) now reads in chunks of a file at a time, rather than reading the entire thing into memory at once.

Compatibility updates

17 Aug 22:24
Compare
Choose a tag to compare

Cleanup and updated syntax. Thanks @musm for the attention to detail.

0.6+ compatibility release

26 Jul 16:10
Compare
Choose a tag to compare
Merge pull request #36 from Sacha0/fixdepwarns

fix depwarns under 0.7 and bump REQUIRE and CI to 0.6

v0.3.3: Merge pull request #35 from yuyichao/align

25 May 17:37
Compare
Choose a tag to compare

Julia 0.6 depwarning fixes

06 Feb 22:35
Compare
Choose a tag to compare
Merge pull request #31 from musm/patch-1

Update dep map! method