ahkscript / libcrypt.ahk

A collection of crypting and encoding functions from the community
MIT License
66 stars 19 forks source link

ASCII85 - almost... #4

Open joedf opened 9 years ago

joedf commented 9 years ago

ASCII85 is almost fully working... In the example/ folder, the script fails to decode correctly for the ~2 last characters. https://github.com/ahkscript/libcrypt.ahk/blob/master/examples/ASCII85.ahk

joedf commented 9 years ago

In the example, the decoded length is correct, but the last two characters are decoded as: \1F c instead of e . In binary: 0001 1111 0110 0011 instead of 0110 0101 0010 1110