Utility catalogue
Encoding and checksums ยท GNU extension
base64
Encode bytes as Base64
Open3,000 seeds
Proof brief
- 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.
Subtasks and prerequisites
Read obligations JSONThis target needs root.io (proved).
Task bundle
Read bundle JSONA formal Rocq statement has yet to be published for this profile.
This target has no verifier yet. Add targets/base64/verify.sh with your submission, modeled on targets/cat/verify.sh. The pull request check runs it with sh targets/base64/verify.sh.
GitHub submissions
See the review queueView GitHub pull requests for the current status.