Removed test code, added trim method to secret message.