Python: how to pass FILES to/from the user? (Save/Browse/Download/Upload) -- in Python
squeegily

I'm trying to create some demos for experimental, historical, proof-of-concept, or otherwise research-focused cryptographic algorithms (starting with a basic Lamport OTS, and using that as a library for an implementation of Lu, Au, and Zhang's 2019 LRS scheme).

I'd like users to be able to easily import and export private and public keys, as well as to save signed or encrypted messages, and upload signature files for validation. I am (as stated twice in the title) coding in Python, and would like to build something less cumbersome than having people copy/paste ASCII-armored DER blobs in and out of the Terminal.

Does Replit provide any API for this?

You are viewing a single comment. View All
JBloves27

I don't think so. It seems like you might want to search online for such an API, module, etc. You could ask on replit discord as well, for more info.

Hope this helps!