I want to use ECDSA instead of RSA for encrypting and decrypting integer number. Ususally ECDSA is used for digital signature. But it's possible to transform algorthm of digital signature: use signature generation for decryption, signature verification for encryption. I have a problem with transforming algorithm like that.
I want to know, what should encryption-function and decryption-function do.
P.S.: Please, don't suggest me to use ECDH and ECIES. It's not what I need. I need ECDSA work exactly like RSA: get integer, encrypt it to another integer and decrypt this integer.