summaryrefslogtreecommitdiff
path: root/crypt.h
AgeCommit message (Collapse)Author
2022-09-19Rename for consistency & conventionsꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-09-19Reduce buffer size for unsigned char arraysꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
They're not strings, so no need for extra byte for the terminating NUL.
2022-09-15Change crypt_getnonce char * argument typeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Rename it to char buf[], to make it clearer how it should be used.
2022-09-15Nonce string size uses formulaꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Less efficient, but it's more about clarity for now. Variable name shortened a bit. Nonce size made static.
2022-09-14OAuth partꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
The minimum to pass all authentications and arrive at the embedded app index. This library is to be used with shopify-app-template-c for now, as it assumes the existence of shopify.app.toml in the parent directory, and index.html in the frontend directory.