RSA Encryption Part 2, Computer Security
Channel:
Subscribers:
2,640
Published on ● Video Link: https://www.youtube.com/watch?v=Qvnpw_A8iBs
Today I gave some tips on how to code RSA. It's pretty easy, there's just some tricky bits in converting a string to a number, which you do by shifting the current number 8 bits left and then adding in the current character to it, over and over until there are no characters left. Unpacking the number works the same way, by modulusing by 256 to get the last character and then bit shifting everything right 8 bits. This will give you the string backwards, so push it into a stack or something and pop it off.
We then talked about different stories from the security world and ran through a review of modular math.
Other Videos By Bill Kerney
2021-08-30 | Coding with Loops |
2021-08-30 | How to Make an Argument and Counterargument - Piracy: For and Against |
2021-08-27 | For and While Loops |
2021-08-27 | Examining Sources |
2021-08-27 | Gaming Psychology and Lerping Materials |
2021-08-27 | Hash Tables |
2021-08-25 | Handling Errors, Cheating, Competency Exams, Chars, Loops |
2021-08-25 | Evaluating Claims |
2021-08-25 | Final Project!!?! |
2021-08-24 | UE4 Material Instances |
2021-08-24 | RSA Encryption Part 2, Computer Security |
2021-08-23 | UNIX Shortcuts, C++ Shortcuts, Bools |
2021-08-23 | Welcome to CSCI 1 @ Fresno State! |
2021-08-20 | Conditionals Part III |
2021-08-20 | Navmesh, Materials, Axis-Aligned Bounding Boxes |
2021-08-19 | Multiplayer Balance and UE4 Materials Pt. 2 |
2021-08-19 | The Optimizer, Bigints, Prime Generation, RSA Encryption, Cryptographic Hashing |
2021-08-18 | Conditionals Part II |
2021-08-17 | Line Rasterization |
2021-08-17 | Game Design Principles and UE4 Materials |
2021-08-17 | Powm, Modular Division, Espionage |
Tags:
csci 26
modular math
modular arithmetic
rsa
security
hacking