Not going to reuse.

Discussion in 'Plugin Development' started by Cirno, Mar 3, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Cirno

    Nope, not my last

    Original Question (open)
    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?
     
  2. Offline

    Zimp

    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
     
  3. Offline

    Cirno

    Okay. Maybe I'll insert random junk in the middle...

    Bump, new question :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
Thread Status:
Not open for further replies.

Share This Page