Purfe

Learn, create and have fun with Python

RSA algorithm in Python

Python implementation of the RSA Encryption Algorithm. Quick reference Generating the keys Encrypting Decrypting Algorithm requirements Generating the keys Choose two prime numbers (p, q), such as p is not equal to q. # TODO implement prime number generator #…

6 ways to solve Fibonacci problem. Python

A Fibonacci sequence is a series of integers where the next number is found by adding up the two numbers before it The formula can be visualised as follows fibonacci(n) = fibonacci(n-1) + fibonacci(n-2) 0, 1, 1, 2, 3, 5,…

Back to top