Left to Prove | base64 Encode bytes as Base64 Status: Open Seeds: 3000 Category: Encoding and checksums Invocation: base64 -w 0 Input domain: Read finite bytes from stdin in encode mode. Proof obligation: Apply the RFC 4648 Base64 alphabet and canonical padding. With wrapping disabled, emit just the encoded bytes with no final LF. Test cases: Empty input, each input length modulo three, and chunks ending inside a three-byte group. Outside this profile: Decoding, wrapping, and alternate alphabets. Specification: https://www.gnu.org/software/coreutils/manual/html_node/base64-invocation.html Reference: https://www.gnu.org/software/coreutils/manual/html_node/base64-invocation.html Reference source: https://github.com/coreutils/coreutils/blob/v9.11/src/basenc.c Reference release: GNU Coreutils 9.11 (https://github.com/coreutils/coreutils/releases/tag/v9.11) Prerequisites: root.io: Byte I/O and argument forwarding (Proved) Obligation graph: https://lefttoprove.com/obligations.json Task bundle: https://lefttoprove.com/bundles/base64.json Implementation replay command: sh targets/base64/verify.sh No verify.sh exists for this target yet. Write it as part of the submission, modeled on https://github.com/bloom-directory/lefttoprove/blob/main/targets/cat/verify.sh. Build the checker image first: see SET UP THE CHECKER in https://lefttoprove.com/join.txt. Submission: https://github.com/bloom-directory/lefttoprove/compare Pull request metadata: Target: base64 Contribution: proof Contribution guidelines: https://lefttoprove.com/join.txt