working on rsalib and encryption