Commit cef74025 authored by Nils Goroll's avatar Nils Goroll

update generated RST

parent 85b841f9
......@@ -6,8 +6,6 @@
.. role:: ref(emphasis)
.. _vmod_blobdigest(3):
===============
vmod_blobdigest
===============
......@@ -43,6 +41,7 @@ SYNOPSIS
STRING version()
::
new OBJECT = blobdigest.digest(ENUM hash [, BLOB init], ["TASK"|"TOP"])
......@@ -221,7 +220,7 @@ values:
* ``SHA3_384``
* ``SHA3_512``
.. _obj_digest:
.. _vmod_blobdigest.digest:
new xdigest = blobdigest.digest(ENUM hash, BLOB init, ENUM scope)
-----------------------------------------------------------------
......@@ -264,7 +263,7 @@ Example::
new sha512 = blobdigest.digest(SHA512, foo.get());
}
.. _func_digest.update:
.. _vmod_blobdigest.digest.update:
BOOL xdigest.update(BLOB)
-------------------------
......@@ -320,7 +319,7 @@ Example::
call do_backend_error;
}
.. _func_digest.final:
.. _vmod_blobdigest.digest.final:
BLOB xdigest.final()
--------------------
......@@ -404,7 +403,7 @@ Example::
# Baz-Hash-Base64: base64-encoded SHA3_256 hash of "baz"
# Baz-Hash-Hex: hex-encoded SHA3_256 hash of "bar"
.. _func_hash:
.. _vmod_blobdigest.hash:
BLOB hash(ENUM hash, BLOB msg)
------------------------------
......@@ -430,7 +429,7 @@ Example::
blobdigest.hash(SHA256,
blob.decode(decoding=BASE64, encoded="Zm9v"));
.. _obj_hmac:
.. _vmod_blobdigest.hmac:
new xhmac = blobdigest.hmac(ENUM hash, BLOB key)
------------------------------------------------
......@@ -457,7 +456,7 @@ Example::
new hmac = blobdigest.hmac(SHA256, key.get());
}
.. _func_hmac.hmac:
.. _vmod_blobdigest.hmac.hmac:
BLOB xhmac.hmac(BLOB msg)
-------------------------
......@@ -479,14 +478,14 @@ Example::
return(synth(401));
}
.. _func_hmac.hmac_bench:
.. _vmod_blobdigest.hmac.hmac_bench:
DURATION xhmac.hmac_bench(INT n, BLOB msg)
------------------------------------------
Run `n` rounds of ``.hmac`` and return the net total duration.
.. _func_hmacf:
.. _vmod_blobdigest.hmacf:
BLOB hmacf(ENUM hash, BLOB key, BLOB msg)
-----------------------------------------
......@@ -525,7 +524,7 @@ Example::
blob.decode(encoded=
req.http.Msg)));
.. _func_version:
.. _vmod_blobdigest.version:
STRING version()
----------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment