doing RSA, add encapsule tool class.