updated the decoding algo for encoded signature