AES-Encryption-Classes icon indicating copy to clipboard operation
AES-Encryption-Classes copied to clipboard

Feature Request: URL Safe

Open z2z opened this issue 4 years ago • 1 comments

Add something like Base64url

Ref: https://docs.microsoft.com/en-us/dotnet/api/microsoft.identitymodel.tokens.base64urlencoder.encode?view=azure-dotnet#Microsoft_IdentityModel_Tokens_Base64UrlEncoder_Encode_System_String_

"The following functions perform base64url encoding which differs from regular base64 encoding as follows

padding is skipped so the pad character '=' doesn't have to be percent encoded the 62nd and 63rd regular base64 encoding characters ('+' and '/') are replace with ('-' and '_') The changes make the encoding alphabet file and URL safe."

z2z avatar May 08 '21 02:05 z2z

Sorry for the late response, I've been busy. I don't think we need this feature, it will break backwards compatibility without offering any significant benefits. Besides, it's not that hard to change the encoding format, before and after decrypt/encrypt operations.

tasos-py avatar May 18 '21 03:05 tasos-py