Skip to content

Add sample encoders #50

Description

@saxbophone

Perhaps these could be included in an examples module.

Well-known encoders I'd like to produce examples for:

  • Base64
  • Base64, URL-safe variant
  • Ascii85
  • Base85 (revised version of Ascii85 conforming to RFC 1924)
  • Z85 (ZeroMQ version of Ascii85)
  • Base91
  • Base32
  • Base16 (maybe too easy?)
  • Base36
  • Base58

With the exception of the base-85 schemes (which perform some additional kind of run-length encoding on certain output patterns, all of these should be rather trivial to implement as subclasses, and might serve as more helpful documentation and proof-of-concept to potential users.

Regarding the output transformation of the Ascii85 variants, it might be worth holding off until issue #27 is done (the pre-processing and post-processing ideas would be very helpful for such a scheme as Ascii85).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedThis task cannot be started until a prerequisite has been completedenhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions