Skip to content

Commit

Permalink
fixing random input
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmenendez committed Nov 20, 2023
1 parent 7b61a4b commit 77f2f5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/contribute
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ You are going to contribute to '$CEREMONY_BRANCH' zk-voceremony process!"
}

make_contribution() {
CONTRIBUTION_USER_INPUT=`ask_to_user "Please enter a random input and press enter:"`
echo "Your part of the input is: '$CONTRIBUTION_USER_INPUT'. Generating a random part..."
CONTRIBUTION_RANDOM_INPUT="${CONTRIBUTION_USER_INPUT}\n$(head -n 64 /dev/urandom)"
CONTRIBUTION_RANDOM_INPUT=`ask_to_user "Please enter a random input and press enter:"`
echo "Your part of the input is: '$CONTRIBUTION_RANDOM_INPUT'. Generating a random part..."
CONTRIBUTION_RANDOM_INPUT="${CONTRIBUTION_RANDOM_INPUT}\n$(head -c 64 /dev/urandom | md5sum)"
echo
echo "The generation of the contribution will take a while... So, be patient and don't close the terminal until the process is finished."
echo
Expand Down

0 comments on commit 77f2f5e

Please sign in to comment.