This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
shamirss
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
make sure GF2p8 is hashable..
main
John-Mark Gurney
1 year ago
parent
8dfd8be02b
commit
f1738f3e44
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
shamirss.py
+ 3
- 0
shamirss.py
View File
@@ -370,6 +370,9 @@ class TestShamirSS(unittest.TestCase):
b = GF2p8(random.randint(0, 255))
c = GF2p8(random.randint(0, 255))
# Hashable
{ a, b, c }
self.assertEqual(a * 0, 0)
# Identity
Write
Preview
Loading…
Cancel
Save