Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
DST
interopehrate
camenisch-lysyanskaya
Commits
9a98ab5f
Commit
9a98ab5f
authored
Nov 06, 2016
by
Gijs Van Laer
Browse files
update readme
parent
e62461f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
README.md
README.md
+12
-0
No files found.
README.md
View file @
9a98ab5f
...
...
@@ -34,6 +34,18 @@ Sign:
final
Signature
sigma
=
CLSign
.
sign
(
messages
,
keyPair
);
```
Sign Blind:
```
java
final
Element
commitment
=
CLSign
.
commit
(
messages
,
keyPair
.
getPk
());
final
Signature
sigma
=
CLSign
.
signBlind
(
commitment
,
keyPair
);
```
Sign Partially Blind:
```
java
final
Element
partialCommitment
=
CLSign
.
partialCommit
(
messages
.
subList
(
0
,
messageSize
-
2
),
keyPair
.
getPk
());
final
Signature
sigma
=
CLSign
.
signPartiallyBlind
(
messages
.
subList
(
messageSize
-
2
,
messageSize
),
partialCommitment
,
keyPair
);
```
Verify:
```
java
CLSign
.
verify
(
messages
,
sigma
,
keyPair
.
getPk
());
...
...
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