diff options
author | Mike Causer <mcauser@gmail.com> | 2016-08-01 09:52:00 +1000 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-08-02 11:17:46 +0300 |
commit | ce166e6b68b7fafb73a99fd64081f8a4155fe22a (patch) | |
tree | 20b063465b430968482cea18c41f949fbd2ec845 /docs/library/uhashlib.rst | |
parent | 3eb532e97463b7f9b9ffe6f617a035284ef3e37b (diff) | |
download | micropython-ce166e6b68b7fafb73a99fd64081f8a4155fe22a.tar.gz micropython-ce166e6b68b7fafb73a99fd64081f8a4155fe22a.zip |
docs: Spelling mistakes
Diffstat (limited to 'docs/library/uhashlib.rst')
-rw-r--r-- | docs/library/uhashlib.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/library/uhashlib.rst b/docs/library/uhashlib.rst index 5de4b6f7ba..223c72dfe7 100644 --- a/docs/library/uhashlib.rst +++ b/docs/library/uhashlib.rst @@ -9,7 +9,7 @@ This module implements binary data hashing algorithms. Currently, it implements SHA256 algorithm. Choosing SHA256 was a deliberate choice, as a modern, cryptographically secure algorithm. This means that a - single algorithm can cover both usecases of "any hash algorithm" and + single algorithm can cover both use cases of "any hash algorithm" and security-related usage, and thus save space omitting legacy algorithms like MD5 or SHA1. @@ -53,7 +53,7 @@ Constructors Example:: - hash = uhashlib.sha1('abcd1234', 1001) # lenght of the initial piece is multiple of 4 bytes + hash = uhashlib.sha1('abcd1234', 1001) # length of the initial piece is multiple of 4 bytes hash.update('1234') # also multiple of 4 bytes ... hash.update('12345') # last chunk may be of any length @@ -68,7 +68,7 @@ Methods .. method:: hash.digest() - Return hash for all data passed thru hash, as a bytes object. After this + Return hash for all data passed through hash, as a bytes object. After this method is called, more data cannot be fed into hash any longer. .. only:: port_wipy |