Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multibase support #14

Open
awakecoding opened this issue Nov 25, 2020 · 0 comments
Open

Add multibase support #14

awakecoding opened this issue Nov 25, 2020 · 0 comments
Milestone

Comments

@awakecoding
Copy link

This one is more of a nice-to-have feature, but it could be very beneficial to add support for multibase encoding.

Multibase is a relatively simple encoding that uses a single prefix character to specify the base encoding of the rest of the string. This makes the base-encoded string self-descriptive, without having to specify separately the encoding that was used. Compatibility with non-multibase can be achieved by manually checking the letter prefix to make sure it matches the expected encoding and removing it to get the "clean" string.

A ConvertFrom-Multibase / ConvertTo-Multibase function could be made to support all the base encodings supported within this PowerShell module, starting with Base64 and Base64Url. From there it should be easy to add other common ones like base16 (hexadecimal).

@SteveL-MSFT SteveL-MSFT added this to the Future milestone Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants