Add Euklidischer Algorithmus write up
This commit is contained in:
parent
0292d10058
commit
1c5fe4ee1c
1 changed files with 15 additions and 0 deletions
15
euklidischer-algorithmus.md
Normal file
15
euklidischer-algorithmus.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Euklidischer Algorithmus
|
||||
|
||||
Gegeben ist lediglich eine Diophantische Gleichung:
|
||||
```
|
||||
53*x + 737*y = 1
|
||||
```
|
||||
|
||||
## Lösung
|
||||
|
||||
Herleitung und Code steht in [Weak Hybrid Encryption](weak-hybrid-encryption).
|
||||
Wir müssen nur noch einsetzen:
|
||||
```python
|
||||
In [1]: euclid(53, 737)
|
||||
Out[1]: (1, -292, 21)
|
||||
```
|
Reference in a new issue