Adding first bits of crypto library