Skip to content

Commit

Permalink
Merge pull request #38 from musm/patch-2
Browse files Browse the repository at this point in the history
Add syntax highlighting to readme
  • Loading branch information
staticfloat authored Jul 26, 2017
2 parents c7de6b7 + daf7632 commit d487014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![SHA](http://pkg.julialang.org/badges/SHA_0.4.svg)](http://pkg.julialang.org/?pkg=SHA&ver=0.4)

Usage is very straightforward:
```
```julia
julia> using SHA

julia> bytes2hex(sha256("test"))
Expand All @@ -16,7 +16,7 @@ julia> bytes2hex(sha256("test"))

Each exported function (at the time of this writing, SHA-1, SHA-2 224, 256, 384 and 512, and SHA-3 224, 256, 384 and 512 functions are implemented) takes in either an `Array{UInt8}`, a `ByteString` or an `IO` object. This makes it trivial to checksum a file:

```
```julia
shell> cat /tmp/test.txt
test
julia> using SHA
Expand Down

0 comments on commit d487014

Please sign in to comment.