in reply to Crypt::OTP issue

OTP isn't returning printable ASCII text to you. In your case, it's returning the characters with ASCII values 3, 3, and 7, all of which are unprintable. To make this printable, you can uuencode it (with pack perhaps), Base64 encode it, etc.