Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 779 Bytes

File metadata and controls

21 lines (17 loc) · 779 Bytes

#B64

Base64 implementation satisfying the following requirements:

Stateful: Small state size and able to process streams of data
Immediate Output: Output decoded data as soon as possible
No assumption on input length: Process data even if only one byte is available
Ignore invalid bytes within input: Can process base64 data that includes invalid bytes [*]

[*] Aside from this requirement, the implementation follows RFC 4648. This requirement makes the implementation unsuitable for certain applications without preprocessing the input. See RFC 4648 - Security Considerations.