Closed aravi365 closed 3 years ago
I could not reproduce your claim:
> var Base64 = require("js-base64");
undefined
> var str='dwfedhgwefdf~12gehgdhegd';
undefined
> Base64.encode(str);
'ZHdmZWRoZ3dlZmRmfjEyZ2VoZ2RoZWdk'
> Base64.decode(Base64.encode(str));
'dwfedhgwefdf~12gehgdhegd'
> Base64.decode(Base64.encode(str)) === str;
true
Would you tell me your environment more in detail?
If we encode
dwfedhgwefdf~12gehgdhegd
and then decode it, then what i am getting is'dwfedhgwefdf�12gehgdhegd'