From the course: Learn Java Cryptography
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Creating a digital signature in Java - Java Tutorial
From the course: Learn Java Cryptography
Creating a digital signature in Java
- [Instructor] So, now that we've discussed what a digital signature is and how to use it, let's go write some code to create a digital signature for ourselves. I'd like you to jump into the IDE, and the first thing I want you to take a look at is in source main resources, I've created a file for you. This happens to be the Constitution of the United States, and we're going to use that and actually create a digital signature for this file as we progress throughout this video. Go ahead and shut that down, and I'd like for you to create a new package, Com.frankmoley.crypto signature. And in that signature package, I'd like you to create a new Java class, and we're going to call that DigitalSignatureUtils. I'm gonna shrink this out here so we can take a look at the code a little easier. Now, like we've done a couple times before, I would like you to create a private static final string, and we're going to call this Signing…
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.