ℓ = 100 and 1 ≤ D ≤ 64 (E = 3250) mentioned previ-
ously, the length of each merged one-way hash chain
will be reduced to 3 (k = 2) when the radix r = 4 is
selected. Therefore, the storage cost of the merchant
will be substantially reduced to about 6 kilobytes (i.e.,
50% reduction) and the computational cost will be re-
duced to 83% for both of the customer and the mer-
chant.
In some cases where the denomination D is de-
signed to be in the range [1 ≤ D ≤ r
k+1
− δ] (where
δ is a large positive integer and δ < r
k
), to assign a
denomination D into the merged one-way hash chain,
radix r representation of (D−1+δ) instead of (D−1)
can be used to compute the trapdoor sequence. In
this modified version, the most significant digit d
k
will now usually have a larger value and h
r−1−d
k
(x
i,k
)
will take fewerhash computations. On the other hand,
the merchant will take more hash computations (when
compared with the customer) to verify the received
trapdoor sequence since he needs more hash compu-
tations to obtain c
i,k
. This design is of course reason-
able because the customer might have only a resource
limited portable device, e.g., smart card, but the mer-
chant can be equipped witha powerful computer. This
modified design becomes especially important due to
the result obtained in Theorem 1 that the optimal radix
r is four but not two, so δ might be a large value.
4.3 Comparisons with other Schemes
In this section, comparisons of performance among
the PayWord scheme (Rivest and Shamir, 1997), the
UOBT scheme (Yen et al., 1999), and the proposed
PayStar will be given. It is assumed that the smallest
denomination is one cent and the cost of each pay-
ment is uniformly distributed over the range of [1,t].
On average, each payment costs A =
1+t
2
cents.
Lemma 1 Let n be the length of a conventional one-
way hash chain and each payment costs A cents on
average. Then, in the PayWord scheme, the expected
computational costs for the customer to spend and for
the merchant to validate each cent are (
n
A
− 1)/2 and
one hash computations, respectively.
Proof: The expected total number of hash com-
putations required to be done by the customer dur-
ing the
n
A
payment transactions (an average case) is
T =
∑
n
A
i=1
(i− 1) · A =
n·(
n
A
−1)
2
.
Therefore, the expected computational cost for the
customer to spend each cent is T/n = (
n
A
− 1)/2 hash
computations. Apparently, the computational cost for
the merchant to validate each cent is one hash compu-
tation. ⊓⊔
Table 1: Comparison of computational cost per cent among
PayWord, UOBT, and PayStar.
PayStar
PayWord UOBT r = 2 r = 4
k = 5 k = 2
Customer 49.5 1.72 0.28 0.23
Merchant 1 1 0.28 0.23
Lemma 2 Suppose that there are p· q nodes (coins)
in an Unbalanced One-way Binary Tree (i.e., q one-
way hash chains each of length p, with their seeds tied
together via another one-way hash chain of length q)
and each payment costs A cents on average. Then,
the expected computational costs for the customer to
spend and for the merchant to validate each cent are
p+q−2
2A
and one hash computations, respectively.
Proof: The expected total number of hash com-
putations required to be done by the customer dur-
ing the
p·q
A
payment transactions (an average case) is
T =
p−1
2
+
q−1
2
×
p·q
A
=
p·q·(p+q−2)
2A
. In this anal-
ysis, for the sake of simplicity, we do not explicitly
consider the case in which a payment may need to
deliver two hash values from two adjacent one-way
hash chains. However, the above brief estimation re-
flects the usual cases in a UOBT setting.
Therefore, the expected computational cost for the
customer to spend each cent is T/(p·q) =
p+q−2
2A
hash
computations. Apparently, the computational cost for
the merchant to validate each cent is one hash compu-
tation. ⊓⊔
Following the example used in Sect. 4.1, a con-
crete comparison can be made by letting the cost of
each payment be a random value in the range [1, 64]
with the average cost A = 32.5, and the expected to-
tal amount embedded in a payment token be about
3250 cents. So, each payment token can be used
for approximately 100 payment transactions before
being exhausted. Parameters corresponding to the
above scenario are n = 3250 for the PayWord scheme,
p = q = 57 (p×q= 3249) for the UOBT scheme, and
ℓ = 100 for the proposed PayStar. Performance com-
parisons of the expected computational cost (number
of hash computations per cent) among these four pay-
ment schemes with the above setting are summarized
in the Table 1.
Table 1 shows that for the computational perfor-
mance of the customer, the proposed PayStar scheme
is substantially superior to all other schemes; and for
the computational performance of the merchant, the
proposed PayStar scheme is also superior to the Pay-
Word scheme and the UOBT scheme.
WEBIST 2008 - International Conference on Web Information Systems and Technologies
392