Posts

Network Subnet Calculator

Network Subnet Calculator Network Subnet Calculator A subnet is a division of an IP network (internet protocol suite), where an IP network is a set of communications protocols used on the Internet and other similar networks. It is commonly known as TCP/IP (Transmission Control Protocol/Internet Protocol). The act of dividing a network into at least two separate networks is called subnetting, and routers are devices that allow traffic exchange between subnetworks, serving as a physical boundary. IPv4 is the most common network addressing architecture used, though the use of IPv6 has been growing since 2006. How to calculator subnet CIDR Block in java Below simple algorithm calculates required cidr block Using master CIDR Block. CidrBlockBuilderTest.java package cidr; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import java.util.Iterator; /** * @author tvajjala */ public class CidrBlockBuilderTest { @Test

Java Cryptography

Java Cryptographic Architecture Table of Contents Java Cryptographic Architecture Provider Architecture Random Number Generation Key Management Message Digests Encryption Algorithms & Cipher Popular Providers Public Key Infrastructure(PKI) FIPS 140-2 Java Cryptographic Architecture Java cryptography software comes in two sections. JCA The overall design of the cryptography classes is governed by the java cryptography architecture(JCA). The JCA specify design patterns and extensible architecture for defining cryptographic concepts and algorithms. These concepts(interfaces) are encapsulated by java.security and javax.crypto packages. Implementation ares supplied by cryptographic providers. JDK1.2 comes with a default provider, named SUN . which implements a few cryptographic algorithms. JCE Java split its cryptography classes into two groups. First group is included in the java.security.* packages that are part of