changed rsa decrypt interface from pointer