RSA decryption - MATLAB Cody - MATLAB Central

Problem 44961. RSA decryption

Difficulty:Rate

Decrypt a large integer string using RSA decryption given the public key (n) and private key (d). Convert the large integer decryption into an output message string with UTF-8 representation.

Example:

 encrypted_message = '158037161019988039882393476857386648994978438821991287680442802412825849535544067751541256843540494019';%input
n='418336393847020647250825879743341651032293545176800777981294580200903315345456262337972725306797613061';%input
d='8444986024072025211908427894173383040354675378319105204646840203847580180874615752845913488969020869';%input
decrypted_message = 'I like to swim!';%output

Solution Stats

29.63% Correct | 70.37% Incorrect
Last Solution submitted on Oct 11, 2024

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers6

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!