| import gradio as gr, base64, blake3, os, json | |
| key = os.getenv("K", "506959266248") | |
| def go(h): return blake3.blake3((key+h).encode()).hexdigest() | |
| gr.Interface(go, gr.Textbox(label="hex-in"), gr.Textbox(label="hash-out")).launch() |
| import gradio as gr, base64, blake3, os, json | |
| key = os.getenv("K", "506959266248") | |
| def go(h): return blake3.blake3((key+h).encode()).hexdigest() | |
| gr.Interface(go, gr.Textbox(label="hex-in"), gr.Textbox(label="hash-out")).launch() |