Encode any data to a provided output alphabet.
An example would be base64, though that is of course achieved easier with atob/btoa.
It also allows for use cases like simple "encryption" with caesar chiffre.
Encode any data to a provided output alphabet.
An example would be base64, though that is of course achieved easier with atob/btoa.
It also allows for use cases like simple "encryption" with caesar chiffre.