Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
markdown fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenthz committed Sep 21, 2011
1 parent cde9d65 commit 9ea59c1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Expand Up @@ -28,7 +28,8 @@ the hash or hashlazy function there's no such need.


Every hashes, exposes a very similar API. Every hashes, exposes a very similar API.


= Incremental API Incremental API
---------------


it's based on 3 different functions, similar to the lowlevel operations it's based on 3 different functions, similar to the lowlevel operations
of a typical hash: of a typical hash:
Expand All @@ -40,20 +41,23 @@ of a typical hash:
all those operations are completely pure, and instead of changing the all those operations are completely pure, and instead of changing the
context as usual in others language, it create a new context each time. context as usual in others language, it create a new context each time.


= One Pass API One Pass API
------------


The one pass API use the incremental API under the hood, but expose The one pass API use the incremental API under the hood, but expose
common operations to create digests out of a bytestring and lazy bytestring. common operations to create digests out of a bytestring and lazy bytestring.


* hash: create a digest (init+update+finalize) from a strict bytestring * hash: create a digest (init+update+finalize) from a strict bytestring
* hashlazy: create a digest (init+update+finalize) from a lazy bytestring * hashlazy: create a digest (init+update+finalize) from a lazy bytestring


= Integration with crypto-api Integration with crypto-api
---------------------------


cryptohash is fully integrated with crypto-api and you can use the cryptohash is fully integrated with crypto-api and you can use the
related function in crypto-api to use any cryptohash modules. related function in crypto-api to use any cryptohash modules.


= Performance Performance
-----------


Cryptohash uses C implementations to provides maximum performance. Cryptohash uses C implementations to provides maximum performance.
see the cbits directory for more information see the cbits directory for more information

0 comments on commit 9ea59c1

Please sign in to comment.