Is this actually possible? If so I wo开发者_运维百科uld like to use a simple if () statement to alert the user that he/she can not use dictionary words when entering a key for encryption.
Thank you for all your help.
Yes. Look it up in the dictionary; if it's not there, show your alert.
… to alert the user that he/she can not use dictionary words when entering a key for encryption.
About that.
It's probably a good idea to show your alert if the entered key is a single dictionary word, but I recommend allowing multiple words.
精彩评论