Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
r = RedisStore()
t = Tree(store=r)
from os import urandom
for _ in range(1000):
item = urandom(32)
t.add(item)
assert t.is_in(item)
assert not t.is_in(urandom(32))