I wanna know the encryption algorithm used by Linux 7.0/7.1/7.2, which is usually known as MD5. Encrypted password...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
is stored in /etc/shadow and is 34 bytes long. MD5 generates a signature of 16 bytes according to its rfc.Please help me, because I want to implement it the same way in Java, or is there already an implementation in Java for that?
Yes. The standard Java crypto classes have MD5. You can also find other implementations in various places such as:
For more information on this topic, visit these other SearchSecurity.com resources:
Best Web Links: Encryption
Tech Tip: A primer on encryption
Ask the Expert: Encryption algorithms
For news, advice and other information about application security, click here.
Dig Deeper on Disk Encryption and File Encryption
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.