supercop.ts

cross-compiled javascript implementation of ed25519 based on supercop-ref10
git clone git://git.finwo.net/lib/supercop.ts
Log | Files | Refs | README | LICENSE

commit e20c885fe9a7eede24155a3401e28b3e35aa95f9
parent 9dcb4ea4f22dfc2f77fc6b06632875b20403d449
Author: finwo <finwo@pm.me>
Date:   Thu, 23 May 2024 21:44:42 +0200

Remove encode option, it's default in most base64 binaries

Diffstat:
MMakefile | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -58,8 +58,8 @@ supercop.wasm: $(OBJ) $(OBJ) || exit 1 src/supercop.wasm.ts: supercop.wasm - printf "// Built on " > $@ - LC_TIME=en_US date >> $@ - printf "export const binary = Buffer.from('" >> $@ - base64 --encode < supercop.wasm | tr -d \\n | tr -d \\r >> $@ - printf "', 'base64');" >> $@ + printf "// Built on " > $@ + LC_TIME=en_US date >> $@ + printf "export const binary = Buffer.from('" >> $@ + base64 < supercop.wasm | tr -d \\n | tr -d \\r >> $@ + printf "', 'base64');" >> $@