Just something. Only works if the input length is a multiple of 5. If it isn't you can pad it, but then you might need to change this to encode the true length of the string somewhere. How it works is it splits the binary into groups of 5 digits, then looks up a list entry using the decimal value of the group + 1 (1-32), then returns that list entry.