Journals
Publish with us
Publishing partnerships
About us
Blog
Journal of Healthcare Engineering
Journal overview
For authors
For reviewers
For editors
Table of Contents
Special Issues
Journal of Healthcare Engineering
/
2022
/
Article
/
Alg 2
/
Research Article
A Traceable Blockchain-Based Vaccination Record Storage and Sharing System
Algorithm 2
The smart contract Sign
function Sign (string h, string
R
, Roles
d
) public returns (string
r
, string
s
){
(
x
,
y
) =
R
∗
G
r
=
x
%
n
s
= (
h
+
r
∗
d
)/
x
%
n
return
r
,
s
}