Applications of Abstract Algebraic Structures in Semantically Secure Encryption Extending to Network Security