diff options
| author | ame <[email protected]> | 2024-04-05 22:15:55 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2024-04-05 22:15:55 -0500 |
| commit | b8c10dac99316974d142c530356ad5cd8fdf9afa (patch) | |
| tree | b91c803a9a3ed3b391166684f0ac940c44977f17 /docs/crypto.md | |
| parent | 18657b5d226f5fe20ea049308b5078fd188ae96c (diff) | |
+ + final fixes
Diffstat (limited to 'docs/crypto.md')
| -rw-r--r-- | docs/crypto.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/crypto.md b/docs/crypto.md index d46a7ad..75ae5f0 100644 --- a/docs/crypto.md +++ b/docs/crypto.md @@ -87,6 +87,11 @@ obj = llib.crypto.adler32() obj:update("meow") hash = obj:final() --043c01b9s (the same) +--along with the + operator being overloaded to work as obj:update and returning the current final +obj = llib.crypto.adler32() +hash = obj + meow -- (the same again) +hash = obj:final() -- (the same, again) + --and of course, the single function method still works too (will still do init-update-final in the backend) hash = llib.crypto.adler32("meow") --043c01b9s (the same) |
