ObjFW  Check-in [82801897d3]

Overview
Comment:OFCryptographicHash: Add -[calculate]

Before, -[digest] would do the final calculation, however, this would
mean a property modifies state, which is bad.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 82801897d338b7f5da61f6e0a9e7dbf6a3d8f157e82de8e7f274af5d0a7fe633
User & Date: js on 2022-03-25 10:22:55
Other Links: manifest | tags
Context
2022-03-25
10:59
Use nameSpace instead of namespace_ for C++ check-in: fb151035d0 user: js tags: trunk
10:22
OFCryptographicHash: Add -[calculate] check-in: 82801897d3 user: js tags: trunk
2022-03-24
21:12
README.md: Move "Donating" to the Wiki check-in: cb75aa16d9 user: js tags: trunk
Changes

Modified src/OFCryptographicHash.h from [68944dcb5c] to [21f208b184].    [diff]

Modified src/OFData+CryptographicHashing.m from [b37a0e9886] to [caf70aabc2].    [diff]

Modified src/OFHMAC.h from [512d223663] to [618167fc85].    [diff]

Modified src/OFHMAC.m from [8f7abda357] to [2ceebc7fc2].    [diff]

Modified src/OFMD5Hash.m from [7457ae87b9] to [190d96fa7c].    [diff]

Modified src/OFPBKDF2.m from [b45f589efb] to [cca92e4a20].    [diff]

Modified src/OFRIPEMD160Hash.m from [237ac280a3] to [a6c68d768d].    [diff]

Modified src/OFSHA1Hash.m from [8fbe25b6ab] to [6da836d4ff].    [diff]

Modified src/OFSHA224Or256Hash.m from [19bc34b26d] to [de7aa6c8f4].    [diff]

Modified src/OFSHA384Or512Hash.m from [1c897d691a] to [f0d2e79fad].    [diff]

Modified src/OFString+CryptographicHashing.m from [98d19965a9] to [30b5bea6f8].    [diff]

Modified src/exceptions/Makefile from [d98a82648f] to [d0a796337a].    [diff]

Added src/exceptions/OFHashNotCalculatedException.h version [83488903fa].

Added src/exceptions/OFHashNotCalculatedException.m version [3e84cb3642].

Modified tests/OFHMACTests.m from [391ed8c509] to [7c5227bed5].    [diff]

Modified tests/OFMD5HashTests.m from [4a39a103b5] to [6eb26d1d7b].    [diff]

Modified tests/OFRIPEMD160HashTests.m from [13f4c4529e] to [4b80756e64].    [diff]

Modified tests/OFSHA1HashTests.m from [3904915a0d] to [f5847018f6].    [diff]

Modified tests/OFSHA224HashTests.m from [81d4ab4317] to [f0d335ef4f].    [diff]

Modified tests/OFSHA256HashTests.m from [2e31055b19] to [2075144684].    [diff]

Modified tests/OFSHA384HashTests.m from [e19c6a87fc] to [9815671ea1].    [diff]

Modified tests/OFSHA512HashTests.m from [3e05a03d90] to [8ea1d53446].    [diff]

Modified utils/ofhash/OFHash.m from [b400e7645a] to [1e29e681a3].    [diff]