The RSA encryption is based on the following procedure:
Generate two distinct primes p and q. Compute n=pq and phi=(p-1)(q-1).
Find an integer e, 1
Like the snippet!
Posted: 6 years ago by Natallie Baikevich
There are several maze creation algorithms (http://www.astrolog.org/labyrnth/algrithm.htm). The interesting point about Growing Tree one is that it turns into the others (for example, Recursive Backtracker and Prim's algo) when we choose the next step in different ways. Check it with tryfsharp.org.
9 people like thisPosted: 5 years ago by Natallie Baikevich
A simple script to list the exceptions that can be thrown during the method invocation (both caught and uncaught).
5 people like thisPosted: 4 years ago by Natallie Baikevich
Petrovich is more than just a programming language, it is a complete computer operating system and program development environment named after Ivan Petrovich Pavlov. Design Principles: * Provide an operating system and computer language that can learn and improve its performance in a natural manner. * Adapt to user feedback in an intelligent manner.
11 people like thisPosted: 6 years ago by Natallie Baikevich
Sometimes it is extremely useful to check some calculations with Excel. The snippet shows how F# expressions can be transformed into Excel formulae. The data is exported together with the formulae, e.g. a, b and sum function as input sets A1's value to a, B1's to b and C1's formula to "=$A$1+$B$1"
17 people like thisPosted: 5 years ago by Natallie Baikevich