From the course: Learn Java Cryptography
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Basic JCA concepts - Java Tutorial
From the course: Learn Java Cryptography
Basic JCA concepts
- [Narrator] So now that we've discussed at a high level what the JCA and the JCE are, let's talk about the actual details of the JCA itself. Now, one of the first engines that we will come across is the secure random engine. Now, this engine is used to create cryptographically strong random numbers. And it's important to note that what you get from Java.lang random is not sufficiently secure enough to be used for cryptographic functions. There's just simply not enough entropy in how the random number is generated. Now, secure random is really a requirement for good crypto operations in Java. And as such, it's often used for seeds for things like keys as well as other algorithm needs. Now the next engine and the one that I actually happen to use more than anything else is the message digest engine. Now this is used to produce cryptographically secure hashes. Now a hash or digest is a unique one way operation where we take…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.