finished implementing rsa signature and tests