Nope, not my last Original Question (Move your mouse to reveal the content) Original Question (open) Original Question (close) Okay, so I've gotton down reading files, encrypting strings, now, how would I check if a string has been encrypted in MD5 or not? EDIT: Another question, what other algorithms can Java encrypt into? New Question: How would I replace MD5 text without knowing what the MD5 is?
MD5 is a hashing algorithm which is basically a one way encryption. It is used for things like checking if the original data has changed or storing sensitive information such as user passwords. For the most part encrypted data is seemingly random. If you want to be able to identify if it is encrypted or not then you will need to wrap it with a header/footer that labels it as encrypted. Other popular hashing algorithms include: SHA1, SHA-256, SHA-512 Popular encryption algorithms (that can be decrypted) include: AES, DES, 3-DES, Blowfish Documentation of available java ciphers, message digests, etc can be found here: http://docs.oracle.com/javase/6/docs/technotes/guides/security/SunProviders.html
Okay. Maybe I'll insert random junk in the middle... Bump, new question EDIT by Moderator: merged posts, please use the edit button instead of double posting.