ninjatronic / angular-base64

Base64 conversion for AngularJS
Other
186 stars 113 forks source link

not decoding #11

Closed ror6ax closed 9 years ago

ror6ax commented 9 years ago

Hello, I use your lib to encode IP address and pass it to RoR. Problem is, when I run Ruby's Base64.decode64 on it, I get this ��e�+-z

Encoded string is MTcyLjE4LjAuMTQw Raw string is 172.18.0.140 Any idea what is wrong? Thanks

ninjatronic commented 9 years ago

That string is correctly encoded. You can verify using this tool. The encoded string you supplied decodes to give 77+977+9Ze+/vSsteg==. Are you sure you are encoding the right thing?