From eb09c46a8c91774310e7cddcfa3cedcee01790ed Mon Sep 17 00:00:00 2001 From: hannahdaviscrypto <92389026+hannahdaviscrypto@users.noreply.github.com> Date: Thu, 24 Aug 2023 14:25:06 -0500 Subject: [PATCH] Update poc/prg.py Co-authored-by: David Cook --- poc/prg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poc/prg.py b/poc/prg.py index 219f44eb..e760ddf0 100644 --- a/poc/prg.py +++ b/poc/prg.py @@ -104,8 +104,8 @@ class PrgSha3(Prg): test_vec_name = 'PrgSha3' def __init__(self, seed, dst, binder): - # `dst` is used for domain separation; `seed || binder` is - # used as the main input string. + # The input is composed of `dst`, the domain separation tag, the + # `seed`, and the `binder` string. self.shake = SHAKE128.new() dst_length = to_le_bytes(len(dst), 1) # one byte value self.shake.update(dst_length)