packages feed

NaCl 0.0.4.0 → 0.0.5.0

raw patch · 6 files changed

+11/−13 lines, 6 filesdep ~basedep ~bytestringdep ~memoryPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, bytestring, memory

API changes (from Hackage documentation)

Files

NaCl.cabal view
@@ -3,11 +3,9 @@ -- This file has been generated from package.yaml by hpack version 0.34.4. -- -- see: https://github.com/sol/hpack------ hash: 96801ddcac1bde4bd9ab56c0f221a68ee0d9ccdfe421b3c1c2aeaa46a72b99ba  name:           NaCl-version:        0.0.4.0+version:        0.0.5.0 synopsis:       Easy-and-safe-to-use high-level Haskell bindings to NaCl description:    This library uses <https://libsodium.org Sodium> under the hood,                 but only exposes the primitives that are part of the “classic” NaCl@@ -95,10 +93,10 @@       TypeApplications   ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints   build-depends:-      base >=4.10 && <4.15+      base >=4.10 && <4.16     , bytestring >=0.9 && <0.11     , libsodium >=1.0.11 && <2-    , memory >=0.14.15 && <0.16+    , memory >=0.14.15 && <0.17     , safe-exceptions ==0.1.*   default-language: Haskell2010 @@ -137,12 +135,12 @@   build-depends:       HUnit     , NaCl-    , base >=4.10 && <4.15+    , base >=4.10 && <4.16     , base16 >=0.1.1 && <0.4     , bytestring >=0.9 && <0.11     , hedgehog     , libsodium >=1.0.11 && <2-    , memory >=0.14.15 && <0.16+    , memory >=0.14.15 && <0.17     , safe-exceptions ==0.1.*     , tasty     , tasty-hedgehog
lib/NaCl/Box.hs view
@@ -60,7 +60,7 @@ -- --     2. /Random/. You generate a random nonce every time you encrypt a message. --     Since the nonce is large enough, the chances of you using the same---     nonce twice are negligible. For useful helpers, see @Crypto.Random@,+--     nonce twice are negligible. For useful helpers, see @Crypto.Sodium.Random@, --     in <https://hackage.haskell.org/package/crypto-sodium crypto-sodium>. -- --     In either case, you need to be able to provide the same nonce when decrypting,
lib/NaCl/Box/Internal.hs view
@@ -55,7 +55,7 @@ -- Note: this function is not thread-safe (since the underlying -- C function is not thread-safe both in Sodium and in NaCl)! -- Either make sure there are no concurrent calls or see--- @Crypto.Init@ in+-- @Crypto.Sodium.Init@ in -- <https://hackage.haskell.org/package/crypto-sodium crypto-sodium> -- to learn how to make this function thread-safe. keypair :: IO (PublicKey ByteString, SecretKey ScrubbedBytes)
lib/NaCl/Hash.hs view
@@ -10,7 +10,7 @@ -- import qualified NaCl.Hash as Hash -- -- hash_sha256 = Hash.'sha256' message--- hash_sha512 = Hash.'sha512' signed+-- hash_sha512 = Hash.'sha512' message -- @ -- -- This is @crypto_hash_*@ from NaCl.
lib/NaCl/Secretbox.hs view
@@ -51,7 +51,7 @@ --     you want to have an intermediate key that you will encrypt and share --     later. -----     The @Crypto.Key@ module in+--     The @Crypto.Sodium.Key@ module in --     <https://hackage.haskell.org/package/crypto-sodium crypto-sodium> --     has functions to help in either case. --@@ -63,7 +63,7 @@ -- --     2. /Random/. You generate a random nonce every time you encrypt a message. --     Since the nonce is large enough, the chances of you using the same---     nonce twice are negligible. For useful helpers, see @Crypto.Random@,+--     nonce twice are negligible. For useful helpers, see @Crypto.Sodium.Random@, --     in <https://hackage.haskell.org/package/crypto-sodium crypto-sodium>. -- --     In either case, you need to be able to provide the same nonce when decrypting,
lib/NaCl/Sign/Internal.hs view
@@ -53,7 +53,7 @@ -- Note: this function is not thread-safe (since the underlying -- C function is not thread-safe both in Sodium and in NaCl)! -- Either make sure there are no concurrent calls or see--- @Crypto.Init@ in+-- @Crypto.Sodium.Init@ in -- <https://hackage.haskell.org/package/crypto-sodium crypto-sodium> -- to learn how to make this function thread-safe. keypair :: IO (PublicKey ByteString, SecretKey ScrubbedBytes)