You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
synopsis="A safe approach to CAS and other atomic ops in Haskell.";
22
+
description=" After GHC 7.4 a new `casMutVar#` primop became available, but it's\n difficult to use safely, because pointer equality is a highly\n unstable property in Haskell. This library provides a safer method\n based on the concept of \"Tickets\".\n.\n Also, this library uses the \"foreign primop\" capability of GHC to\n add access to other variants that may be of\n interest, specifically, compare and swap inside an array.\n.\n Note that as of GHC 7.8, the relevant primops have been included in GHC itself.\n This library is engineered to work pre- and post-GHC-7.8, while exposing the\n same interface.";
description="@blank-canvas@ is a Haskell binding to the complete\n<https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API HTML5 Canvas API>.\n@blank-canvas@ allows Haskell users to write, in Haskell,\ninteractive images onto their web browsers. @blank-canvas@\ngives the user a single full-window canvas, and provides\nmany well-documented functions for rendering\nimages.\n\n@\n{-# LANGUAGE OverloadedStrings #-}\nmodule Main where\nimport Graphics.Blank -- import the blank canvas\n\nmain = blankCanvas 3000 $ \\\\ context -> do -- start blank canvas on port 3000\n  send context $ do -- send commands to this specific context\n    moveTo(50,50)\n    lineTo(200,100)\n    lineWidth 10\n    strokeStyle \\\"red\\\"\n    stroke() -- this draws the ink into the canvas\n@\n\n<<https://github.com/ku-fpg/blank-canvas/wiki/images/Red_Line.png>>\n\nFor more details, read the <https://github.com/ku-fpg/blank-canvas/wiki blank-canvas wiki>.\n";
synopsis="Fast, pure and practical SHA-512 implementation";
22
+
description="A practical incremental and one-pass, pure API to\nthe [SHA-512, SHA512/t and SHA-384 cryptographic hash algorithms](https://en.wikipedia.org/wiki/SHA-2) according\nto [FIPS 180-4](http://dx.doi.org/10.6028/NIST.FIPS.180-4)\nwith performance close to the fastest implementations available in other languages.\n\nThe core SHA-512 algorithm is implemented in C and is thus expected\nto be as fast as the standard [sha512sum(1) tool](https://linux.die.net/man/1/sha512sum).\n(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)\n\nAdditionally, this package provides support for\n\n- HMAC-SHA-384: SHA-384-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HMAC-SHA-512: SHA-512-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n- HMAC-SHA-512\\/t: SHA-512\\/t-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)\n\nconforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..\n\n=== Packages in the @cryptohash-*@ family\n\n- <https://hackage.haskell.org/package/cryptohash-md5 cryptohash-md5>\n- <https://hackage.haskell.org/package/cryptohash-sha1 cryptohash-sha1>\n- <https://hackage.haskell.org/package/cryptohash-sha256 cryptohash-sha256>\n- <https://hackage.haskell.org/package/cryptohash-sha512 cryptohash-sha512>\n\n=== Relationship to the @cryptohash@ package and its API\n\nThis package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@\npackage had been deprecated and so this package continues to satisfy the need for a\nlightweight package providing the SHA-512 hash algorithms without any dependencies on packages\nother than @base@ and @bytestring@. The API exposed by @cryptohash-sha512-0.11.*@'s\n\"Crypto.Hash.SHA512\", \"Crypto.Hash.SHA512t\", and \"Crypto.Hash.SHA384\" module is guaranteed to remain a compatible superset of the API provided\nby the @cryptohash-0.11.7@'s module of the same name.\n\nConsequently, this package is designed to be used as a drop-in replacement for the @cryptohash-0.11.7@ modules mentioned above, though with\na [clearly smaller footprint by almost 3 orders of magnitude](https://www.reddit.com/r/haskell/comments/5lxv75/psa_please_use_unique_module_names_when_uploading/dbzegx3/).";
0 commit comments