onbit-uchenik / shamir_secret_share

C++ implementation of Shamir Secret Scheme over GF(256)
Apache License 2.0
22 stars 8 forks source link

Update shamir.cpp #4

Closed CharlesAverill closed 3 years ago

CharlesAverill commented 3 years ago

Fix this incorrect use of variable shadowing that makes the implementation less secure

onbit-uchenik commented 3 years ago

@CharlesAverill Thank you for correcting it.