Skip to content

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
icidasset committed Jan 5, 2019
1 parent 83810a2 commit f76bece
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 106 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog


#### 1.0.2

Upgrade `elm-binary`.


#### 1.0.1

- Performance improvements.
Expand Down
4 changes: 2 additions & 2 deletions elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"name": "icidasset/elm-sha",
"summary": "SHA cryptographic hash functions.",
"license": "MIT",
"version": "1.0.1",
"version": "1.0.2",
"exposed-modules": [
"SHA"
],
"elm-version": "0.19.0 <= v < 0.20.0",
"dependencies": {
"elm/core": "1.0.2 <= v < 2.0.0",
"elm-community/list-extra": "8.1.0 <= v < 9.0.0",
"icidasset/elm-binary": "2.0.2 <= v < 2.1.0"
"icidasset/elm-binary": "2.1.0 <= v < 3.0.0"
},
"test-dependencies": {}
}
3 changes: 1 addition & 2 deletions src/SHA/Internal.elm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module SHA.Internal exposing (compress, compute, computeChunk, extend, extendIni
import Array exposing (Array)
import Binary exposing (Bits)
import List.Extra as List
import SHA.Internal.Binary as Binary
import SHA.Internal.Common exposing (..)
import SHA.Internal.Computation as Computation
import SHA.Internal.HashTable exposing (..)
Expand Down Expand Up @@ -57,7 +56,7 @@ preprocess : { blockLength : Int } -> String -> Bits
preprocess { blockLength } message =
let
m =
Binary.fromUtf8String message
Binary.fromStringAsUtf8 message

-- Length of the message in bits
l =
Expand Down
99 changes: 0 additions & 99 deletions src/SHA/Internal/Binary.elm

This file was deleted.

1 change: 0 additions & 1 deletion src/SHA/Internal/HashTable.elm
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module SHA.Internal.HashTable exposing (HashTable, combineHashTables, hashTableToBits, partialHashTableToBits)

import Binary exposing (Bits)
import SHA.Internal.Binary exposing (..)
import SHA.Internal.Common exposing (combine)


Expand Down
1 change: 0 additions & 1 deletion src/SHA/Internal/SHA256.elm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module SHA.Internal.SHA256 exposing (chunkSize, compressor, computationSetup, ex

import Array exposing (Array)
import Binary exposing (Bits)
import SHA.Internal.Binary as Binary
import SHA.Internal.Common
import SHA.Internal.Computation as Computation
import SHA.Internal.HashTable exposing (HashTable)
Expand Down
1 change: 0 additions & 1 deletion src/SHA/Internal/SHA512.elm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module SHA.Internal.SHA512 exposing (chunkSize, compressor, computationSetup, ex

import Array exposing (Array)
import Binary exposing (Bits)
import SHA.Internal.Binary as Binary
import SHA.Internal.Common
import SHA.Internal.Computation as Computation
import SHA.Internal.HashTable exposing (HashTable)
Expand Down

0 comments on commit f76bece

Please sign in to comment.