Basic Encryption And Decryption In Java #40

  Рет қаралды 126,052

Alex Lee

Alex Lee

Күн бұрын

Пікірлер: 160
@alexlorenlee
@alexlorenlee Жыл бұрын
If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
@NavyCrack1
@NavyCrack1 4 жыл бұрын
Hello Alex, I haven't seen anybody who can explain so simple so good to understand Java as you. God bless you. Greetings from Albania.
@michaeltheisen
@michaeltheisen Жыл бұрын
Hey Alex I started watching your videos to help me understand how to code Java when I first started my classes. Lo and behold, here you are helping me again in my Cryptography class. I graduate next month! Thank you for helping me get this far.
@chrisk.9469
@chrisk.9469 4 жыл бұрын
Honestly these are rlly cool, if we could do a mini series abt encryption id love it
@kris_jnr_electrical
@kris_jnr_electrical Ай бұрын
THIS IS THE BEST ENCRYPTION TUTORIAL ON THE INTERNET. AM A PRO IN PYTHON . I LEARNT THE HARD WAY SO SAD I DIDNT SEE YOUR VIDEOS WHILE I WAS STRUGGLING LEARN YEARS AGO. ILL GIVE YOU A FOLLOW
@oluwatobilobaodebo6992
@oluwatobilobaodebo6992 4 жыл бұрын
Final Exam Tomorrow, Thanks for the help throughout the semester Professor Lee!
@alexlorenlee
@alexlorenlee 4 жыл бұрын
good luck!
@eastarwars464
@eastarwars464 4 жыл бұрын
AP exam? 😂 I think I failed that.
@ivanarabome4172
@ivanarabome4172 3 жыл бұрын
Same men that’s why I’m here 😂😂
@ertizajowdat9828
@ertizajowdat9828 3 жыл бұрын
@@ivanarabome4172 I lowkey wanna know how his exam went
@Mikizushi
@Mikizushi Жыл бұрын
yo how'd it go
@shehzadadeel32
@shehzadadeel32 2 жыл бұрын
After searching for 3 days (few hours per day) I came across this video. I wish you could understand the happiness I am feeling right now after seeing your video. You are the best...!!! Thanks for your videos. keep it up.
@TomJMumford
@TomJMumford 4 жыл бұрын
This was part of my assignment for my first year of uni. You made it sound so easy. Thanks! :)
@statxs
@statxs 4 жыл бұрын
I've been watching your tutorials from like 2 years ago and i finally stumbled upon a recent one! Thanks for all the hard work.
@Anthony-wg7fn
@Anthony-wg7fn 2 жыл бұрын
This was great. Can you please expand on this topic and talk about how to implement those other methods that take more steps?
@dyln1k
@dyln1k 4 жыл бұрын
I have my AP comp sci test tomorrow and your vids are really helping me, thanks!!
@smokinamby
@smokinamby 3 жыл бұрын
I find some people hard to understand, but you my friend. You have something about the way you explain stuff that makes things alot easier to understand than most other people that try and teach the exact same concepts. Your videos almost never fail me, somehow. Just wanted to say thanks for the help. For the love of god, get some dark mode goin on...
@JustPassingByHere
@JustPassingByHere 4 жыл бұрын
Amazing work Alex keep it up you motivate me to keep working at this stuff!
@indomitablehumanspirit8320
@indomitablehumanspirit8320 2 жыл бұрын
Alex i fuckking love you man I swear I am learning this right now in my class and I don't understand shit but because of you I have finally understood it tysm
@milannovic5820
@milannovic5820 4 жыл бұрын
It's like you are reading my mind. I was looking couple hours ago do you have a lesson about this. Keep up with good work and big support from Bosnia and Herzegovina 😃👍
@stephen9849
@stephen9849 4 жыл бұрын
Better than md5! Less used, better secured!
@codinggeek5230
@codinggeek5230 3 жыл бұрын
Thank you Alex Lee, for a wonderful tutorial
@darthcode59
@darthcode59 4 жыл бұрын
Hey Alex I learn java from your channel and i did a different version of encryption. I did the program yesterday and today i see you have uploaded it a month ago!
@AzureKnight
@AzureKnight 3 жыл бұрын
thnx a lot brother just studying a night before for the exams
@av2678
@av2678 3 жыл бұрын
Alex: some things like key always confused me But i didnt got confused Cz learnt from you Thx Alex, you inspired me so much for programming
@woolly9468
@woolly9468 4 жыл бұрын
Alex: "Let's say the message is, 'hey, hows it hanging?'" Me: *puts "its the Russians"*
@raymondmichael4987
@raymondmichael4987 4 жыл бұрын
Helpful and subed. Greetings from Tanzania 🇹🇿
@cinephile9015
@cinephile9015 4 жыл бұрын
Well Explained Alex. Can you make a video on Threads it would be helpful.
@ultra_xd
@ultra_xd 4 жыл бұрын
Hey Alex, I was wondering if you could do a tutorial on serialization so I could save my objects into a file. It would be very much appreciated! Thanks! P.S Your videos are awesome.
@Kizuki25
@Kizuki25 4 жыл бұрын
You own my subscription , good video !
@benpoarch2741
@benpoarch2741 4 жыл бұрын
Helped me complete a caesar cipher lab thanks!!!
@efeaydemir1413
@efeaydemir1413 2 жыл бұрын
thanks mate, very easy to understand !
@johncarlodiaz3829
@johncarlodiaz3829 4 жыл бұрын
Hello Alex, can you make a video about making a database using mySQL?
@astronautcowboy2142
@astronautcowboy2142 3 жыл бұрын
This was so awesome to see! I want to make tons of encrypted messages now haha.
@danow11
@danow11 2 жыл бұрын
Great example. Working on this in my class and they did not do a great job of breaking down the steps in a simple way as you did. It was more like you will need to do this,this,this(using arbitrary descriptions) in some order, figure it out.
@mannyokafor4609
@mannyokafor4609 4 жыл бұрын
do a Annotations video pleasee
@swapnasamparnasahoo7736
@swapnasamparnasahoo7736 Жыл бұрын
thank you so much,it helpedme a lot
@definitlyarealperson7041
@definitlyarealperson7041 3 жыл бұрын
Amazing video! What peoples do in a 100 lines of code you put in just 20!
@Ms_Oszy
@Ms_Oszy 2 жыл бұрын
It so cool , this called Ceaser Cipher, Encrypt to ge Cipher C as C= char+key, decrypt the restore original message m as, m= C-KEY.
@Sammym2001
@Sammym2001 4 жыл бұрын
I love your Java tutorials and they are very good at helping me remember a lot of concepts that I have probably forgotten in Java but unfortunately, my university teaches C++ and I was wondering if you have any plans to make any videos regarding C++ either on this channel or another channel.
@HarshRajAlwaysfree
@HarshRajAlwaysfree 4 жыл бұрын
I always wanted to watch a video related to this topic
@reivax8419
@reivax8419 4 жыл бұрын
Could you cover bitmaps? And also great video
@mansoorahmad9564
@mansoorahmad9564 2 жыл бұрын
Love it thanks alot brother
@thebinsohail
@thebinsohail 3 жыл бұрын
public class Encrypt{ public static void main(String[] args) { int salt=(int)(1+(Math.random())*9); String string="Hello World"; System.out.println(string); char [] chars=string.toCharArray(); for(char c:chars){ c+=salt; System.out.print(c); } } }
@prof_as
@prof_as Жыл бұрын
thanks really understandable
@defth
@defth 4 жыл бұрын
This helped me so much.
@Destroyer19941995
@Destroyer19941995 2 жыл бұрын
Thank you legend!
@omer88kemal
@omer88kemal 2 жыл бұрын
Very useful bro thank you😊😊😊
@3monsterbeast
@3monsterbeast 4 жыл бұрын
You made it so easy to subscribe :)
@nalule-Grace
@nalule-Grace 3 жыл бұрын
This was very helpful. Hope to learn more from you.
@n9583
@n9583 3 жыл бұрын
Yr
@shamielhashimibrahim5506
@shamielhashimibrahim5506 2 жыл бұрын
Thank you so much it clear explanation, I am wandering what if the input is a text file not an string, who to treat it?
@hi-vk2sm
@hi-vk2sm 4 жыл бұрын
Hey Alex, could you do a tutorial about bitwise operators (^=, >>,
@HarshRajAlwaysfree
@HarshRajAlwaysfree 4 жыл бұрын
Can you make a video on making a simple game like fappy bird with Java ?
@habibishapur
@habibishapur 4 жыл бұрын
if you want to make games look at c# or c++ instead oj java. hell maybe even python
@mr_confuse
@mr_confuse 3 жыл бұрын
Fappy Bird, sounds interesting indeed
@markanthonyzara3464
@markanthonyzara3464 3 жыл бұрын
Alex do you know how to encrypt / decrypt file using java?
@__-cd1nd
@__-cd1nd 4 жыл бұрын
Thanks for your help🙏🏼
@CodingKida
@CodingKida 4 жыл бұрын
One of the best logic.
@Oismyurl
@Oismyurl 4 жыл бұрын
Hey man. Great video! Any chance you could do something on Threads? :D
@sivakrishnat5471
@sivakrishnat5471 3 жыл бұрын
Hi Alex, it is a nice video. also, please make a video on session keys and encryption.
@AvivaScott
@AvivaScott 2 жыл бұрын
Does the algorithm you used to encrypt/decrypt have a specific name? Thanks! Great tutorial
@maxpeng3000
@maxpeng3000 2 жыл бұрын
I think it’s called caeser cipher
@jeafearn2097
@jeafearn2097 3 жыл бұрын
sir, it's very helpful. is this a part of Caesar Cipher?
@raneemayman7581
@raneemayman7581 3 жыл бұрын
what about asking the user to enter the key and enter a text how to write it? for Encryption and Decryption
@keynnethespillo1217
@keynnethespillo1217 Жыл бұрын
What app is this where can I find this
@kevinm.1565
@kevinm.1565 4 жыл бұрын
Great stuff! :-) Thank you.
@merman3804
@merman3804 3 жыл бұрын
Can you tell me are this cipher is a Cesar?
@wolontong
@wolontong 2 жыл бұрын
real question. what is this encryption method called?
@mindmind1301
@mindmind1301 4 жыл бұрын
Hello can you make a tutorial on triple des encryption and decryption ? your video is really helping thx so much mate
@2012mrmoh
@2012mrmoh 4 жыл бұрын
This type of encryption called caesar cipher
@information88info
@information88info 3 жыл бұрын
Thanks buddy
@rox4333
@rox4333 Жыл бұрын
What compiler did u used?
@shandenegray5626
@shandenegray5626 4 жыл бұрын
You're the BEST
@rowdy8951
@rowdy8951 3 жыл бұрын
good job bro
@ideology8323
@ideology8323 4 жыл бұрын
this is kind of cool
@androidpc9656
@androidpc9656 2 жыл бұрын
is there any name for this algorithm? and what happenns if we encrypt the last ascii character
@jonathantremblay4722
@jonathantremblay4722 3 жыл бұрын
Thanks a lot !
@MisterWealth
@MisterWealth 4 жыл бұрын
Question: So what if you don't know that it's -6 for example?
@IkeVoodoo
@IkeVoodoo 4 жыл бұрын
You can't get the original message
@sanjanajhurry6170
@sanjanajhurry6170 2 жыл бұрын
this is symmetric encryption right?
@mallickpriyanshuOG
@mallickpriyanshuOG 3 жыл бұрын
Can you make a video on some more complex encryption? And also encrypting all types of files
@rmrishan5742
@rmrishan5742 4 жыл бұрын
Thank You very much for the tutorial. I have a question. so "c" is a char. the encrypted code that you are printed in the console is actually for loop running several times and change the data in "c" . let's say i want to get the output as a string. How could I achieve this?
@Westsydney2000
@Westsydney2000 2 жыл бұрын
Hey i have a problem when i ude space In my text i get an error message
@d3vz0ne
@d3vz0ne 4 жыл бұрын
Don‘t forget Charlee :)! ☕️☕️☕️
@mugolastbon1552
@mugolastbon1552 4 жыл бұрын
Demn, that's awesome man....
@ITSTY-1811
@ITSTY-1811 2 жыл бұрын
i wish i see this before activity, but my activity is already checked. haha
@truvoi8686
@truvoi8686 3 жыл бұрын
Superb.
@ibragimkuanyshbay93
@ibragimkuanyshbay93 4 жыл бұрын
Let's make video about SOLID
@woodrowbode7437
@woodrowbode7437 2 жыл бұрын
If you decide to use an app that has the best encryption, choose Utopia Ecosystem
@amitpanc
@amitpanc 4 жыл бұрын
When I do c = c+5; it complains of "can't convert from int to char" while c += 5; works fine. Why?
@samhou8897
@samhou8897 3 жыл бұрын
u should do c = (char) + (c + 5);
@smokinamby
@smokinamby 3 жыл бұрын
The first part, When you said "when I do" you're assigning the value of c+5 to a variable named c. The second part of your question, you're comparing 2 values, not assigning values. So the first one you assigned a value. The second one you're comparing a value. Assigning vs comparing. One operator will assign. Two operators will compare.
@smokinamby
@smokinamby 3 жыл бұрын
And the answer to your question is variable c is of type char. C+5 is an int (because it has a whole number). You cannot put an int into a char type variable. (Unless you cast it, which you'd only do if you're sure it's not gonna be losing any information). As I said in my last comment these are 2 completely different operations. The first operation you asked is ASSIGNING a value. The second operation you're COMPARING 2 values.
@smokinamby
@smokinamby 3 жыл бұрын
Your first statement you are 'saying' put this value in c. Your second statement you're 'saying' while c has this value, do this.
@adamlorbetskie3404
@adamlorbetskie3404 2 жыл бұрын
@@smokinamby They're both assigning
@MadaraUchihaa7
@MadaraUchihaa7 3 жыл бұрын
how would you make it so it doesn't encode numbers and special characters?
@peterluxus7382
@peterluxus7382 2 жыл бұрын
video starts at 3:22
@psychologyfactstothinkabout
@psychologyfactstothinkabout 4 жыл бұрын
can you make a video on debugging please
@codingwithelhacen990
@codingwithelhacen990 4 жыл бұрын
thank you.
@sarthakpawar2407
@sarthakpawar2407 4 жыл бұрын
Can you plz make a video on threads in java. I can't understand it clearly
@pooblock4092
@pooblock4092 4 жыл бұрын
How do i use the c variable outside of the brackets?
@liambrain7551
@liambrain7551 4 жыл бұрын
Please can you do a StdDraw tutorial
@saifsayyed07
@saifsayyed07 3 жыл бұрын
hey can you tell me how can i increase 1st char to 1 then 2nd char to 2 like each for each character
@Memelogy296
@Memelogy296 2 жыл бұрын
Can you please do this in C#??
@aamirkhan-mv4qj
@aamirkhan-mv4qj 7 ай бұрын
Awesome..😊
@HARIkRISHNA-km5cy
@HARIkRISHNA-km5cy 4 жыл бұрын
Can you recommend me any good book for java?
@crisjericollamado4101
@crisjericollamado4101 4 жыл бұрын
Goodday, what do you call this algorithm? i was so confused ☹️
@tacitkiller6060
@tacitkiller6060 3 жыл бұрын
Now the question is how do you hide the key in such a way it’s unreadable to send it from server to device and vice versa
@VatsalRajyaguru17143
@VatsalRajyaguru17143 3 жыл бұрын
What if i dont wanna shift the non letter characters??
@jayeshahirrao3868
@jayeshahirrao3868 2 жыл бұрын
hey can somebody please explain that for loop to me. I know the conventional format of for loop. this is new to me
@blockofcheeze151
@blockofcheeze151 3 жыл бұрын
How do i do this with files
@brizzaangelareyes159
@brizzaangelareyes159 Жыл бұрын
Thank u it's 😊
@FazHD
@FazHD 3 жыл бұрын
anyone know how to do it so it does input = ABCDEF and the output = ZYXWV?
@asonga5410
@asonga5410 4 жыл бұрын
This was great, didn't know you could do easily convert strings into arrays character by character like that.
Reverse String in Java Practice Program #41
11:53
Alex Lee
Рет қаралды 259 М.
Learn Java in 14 Minutes (seriously)
14:00
Alex Lee
Рет қаралды 4,8 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 54 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,8 МЛН
Java encryption program 🔑
32:06
Bro Code
Рет қаралды 46 М.
7 Cryptography Concepts EVERY Developer Should Know
11:55
Fireship
Рет қаралды 1,3 МЛН
Cryptography 101 for Java developers by Michel Schudel
42:59
Multithreading in Java Explained in 10 Minutes
10:01
Coding with John
Рет қаралды 956 М.
Cryptography and Digital Signature
11:32
Telusko
Рет қаралды 10 М.
This Keyword in Java Tutorial #80
10:39
Alex Lee
Рет қаралды 184 М.
Crypto: Caesar Cipher explained | Java implementation
40:10
The CS Revelation
Рет қаралды 8 М.
How to do Password Encryption and Decryption using Java
18:48
Simplifying Tech
Рет қаралды 23 М.
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 54 МЛН