Fundamental Algorithms Applied Cryptography and Network Security Mathematical Techniques for CS Applications