Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-blobdigest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-blobdigest
Commits
d09ac710
Commit
d09ac710
authored
Oct 02, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates in README due to updated formatting style.
parent
4371a9ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
README.rst
README.rst
+10
-10
No files found.
README.rst
View file @
d09ac710
...
@@ -21,7 +21,7 @@ SYNOPSIS
...
@@ -21,7 +21,7 @@ SYNOPSIS
.. parsed-literal::
.. parsed-literal::
import blobdigest [from "path"]
import blobdigest [
as name] [
from "path"]
new xdigest = blobdigest.digest(ENUM hash, BLOB init, ENUM scope)
new xdigest = blobdigest.digest(ENUM hash, BLOB init, ENUM scope)
...
@@ -220,7 +220,7 @@ values:
...
@@ -220,7 +220,7 @@ values:
* ``SHA3_384``
* ``SHA3_384``
* ``SHA3_512``
* ``SHA3_512``
.. _
vmod_blobdigest.digest
:
.. _
blobdigest.digest()
:
new xdigest = blobdigest.digest(ENUM hash, BLOB init, ENUM scope)
new xdigest = blobdigest.digest(ENUM hash, BLOB init, ENUM scope)
-----------------------------------------------------------------
-----------------------------------------------------------------
...
@@ -263,7 +263,7 @@ Example::
...
@@ -263,7 +263,7 @@ Example::
new sha512 = blobdigest.digest(SHA512, foo.get());
new sha512 = blobdigest.digest(SHA512, foo.get());
}
}
.. _
vmod_blobdigest.digest.update
:
.. _
xdigest.update()
:
BOOL xdigest.update(BLOB)
BOOL xdigest.update(BLOB)
-------------------------
-------------------------
...
@@ -319,7 +319,7 @@ Example::
...
@@ -319,7 +319,7 @@ Example::
call do_backend_error;
call do_backend_error;
}
}
.. _
vmod_blobdigest.digest.final
:
.. _
xdigest.final()
:
BLOB xdigest.final()
BLOB xdigest.final()
--------------------
--------------------
...
@@ -403,7 +403,7 @@ Example::
...
@@ -403,7 +403,7 @@ Example::
# Baz-Hash-Base64: base64-encoded SHA3_256 hash of "baz"
# Baz-Hash-Base64: base64-encoded SHA3_256 hash of "baz"
# Baz-Hash-Hex: hex-encoded SHA3_256 hash of "bar"
# Baz-Hash-Hex: hex-encoded SHA3_256 hash of "bar"
.. _
vmod_blobdigest.hash
:
.. _
blobdigest.hash()
:
BLOB hash(ENUM hash, BLOB msg)
BLOB hash(ENUM hash, BLOB msg)
------------------------------
------------------------------
...
@@ -429,7 +429,7 @@ Example::
...
@@ -429,7 +429,7 @@ Example::
blobdigest.hash(SHA256,
blobdigest.hash(SHA256,
blob.decode(decoding=BASE64, encoded="Zm9v"));
blob.decode(decoding=BASE64, encoded="Zm9v"));
.. _
vmod_blobdigest.hmac
:
.. _
blobdigest.hmac()
:
new xhmac = blobdigest.hmac(ENUM hash, BLOB key)
new xhmac = blobdigest.hmac(ENUM hash, BLOB key)
------------------------------------------------
------------------------------------------------
...
@@ -456,7 +456,7 @@ Example::
...
@@ -456,7 +456,7 @@ Example::
new hmac = blobdigest.hmac(SHA256, key.get());
new hmac = blobdigest.hmac(SHA256, key.get());
}
}
.. _
vmod_blobdigest.hmac.hmac
:
.. _
xhmac.hmac()
:
BLOB xhmac.hmac(BLOB msg)
BLOB xhmac.hmac(BLOB msg)
-------------------------
-------------------------
...
@@ -478,14 +478,14 @@ Example::
...
@@ -478,14 +478,14 @@ Example::
return(synth(401));
return(synth(401));
}
}
.. _
vmod_blobdigest.hmac.hmac_bench
:
.. _
xhmac.hmac_bench()
:
DURATION xhmac.hmac_bench(INT n, BLOB msg)
DURATION xhmac.hmac_bench(INT n, BLOB msg)
------------------------------------------
------------------------------------------
Run `n` rounds of ``.hmac`` and return the net total duration.
Run `n` rounds of ``.hmac`` and return the net total duration.
.. _
vmod_blobdigest.hmacf
:
.. _
blobdigest.hmacf()
:
BLOB hmacf(ENUM hash, BLOB key, BLOB msg)
BLOB hmacf(ENUM hash, BLOB key, BLOB msg)
-----------------------------------------
-----------------------------------------
...
@@ -524,7 +524,7 @@ Example::
...
@@ -524,7 +524,7 @@ Example::
blob.decode(encoded=
blob.decode(encoded=
req.http.Msg)));
req.http.Msg)));
.. _
vmod_blobdigest.version
:
.. _
blobdigest.version()
:
STRING version()
STRING version()
----------------
----------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment