Yeah, that would work... |
||
![]() CinC snarkles We could even on the form use something along the lines of an OnKeyUp event to check and make sure there's something in the textarea prior to enabling the "Go" button. Though that wouldn't necessarily be portable to a commandline interface (although similar checks could be made there). With regard to the null/empty string check specifically (since it applies to *all* crypt methods), we should probably move that into a superclass (EncryptionScheme), and have an isValidInput() method which at that level only checks for null/empty string, but later subclasses (like Binary2Text) could override that method to check and make sure the input consisted of only 1s, 0s, and whitespace (for example) as well. Replies:
|
||
| CyberArmy::Forum v0.6 Generated In 0.02307 seconds |