<commit_before>@startuml
title How IT's inseparable couple \n Alice & Bob \n communicate via the RSA Cryptosystem
caption How IT's inseparable couple \n Alice & Bob \n communicate via the RSA Cryptosystem
@enduml<commit_msg>LEARN_RSA: Added actors, four stages and their individual steps<commit_after>@startuml
title How IT's inseparable couple \n Alice & Bob \n communicate via the RSA Cryptosystem
caption How IT's inseparable couple \n Alice & Bob \n communicate via the RSA Cryptosystem
actor Alice as A
actor Bob as B
== Key Generation ==
note over A, B
	Key generation in RSA involves the creation of a 
	public key (e) and a private key (d) for Alice and Bob
end note
hnote over A : Private key (d)\nis not shared
== Key Distribution ==
A -> B : Alice's Public Key e
== Encryption ==
note over of B
	Bob wants to send Alice a secret message M 
	that only Alice should be able to read
	So M is encrypted with Alice's public key e
end note
B -> A : e(M)
== Decryption ==
note over of A
	e(M) can only be decrypted by 
	Alice's private key d
	Hence, only Alice can read M
end note
A -> A : d(e(M)) = M
@enduml
{'fraction_non_alphanumeric': 0.0673854447439353, 'fraction_numerical': 0.0, 'mean_word_length': 3.9292035398230087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6906966', 'n_tokens_mistral': 355, 'n_tokens_neox': 331, 'n_words': 183}