integrate go secureput signaling, fix python version, document a bit, etc

This commit is contained in:
Keyvan Fatehi
2023-02-20 23:34:08 -08:00
parent 63242270b5
commit b25684b90c
27 changed files with 1528 additions and 36 deletions

View File

@@ -0,0 +1,12 @@
import random
runes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
def rand_seq(n):
b = []
for i in range(n):
b.append(random.choice(runes))
return "".join(b)
def generate_secret_key():
return rand_seq(32)