allow wider range of characters; correct size of result for ss-random

Fixes #62.