I need to encrypt a 4-digit number. The cipher-text can be up to 11 digits long and there are no limits for the key size.
Considering that the attacker has access to both the cipher-text and the plain-text but I want the key to remain secret, what algorithm would you recommend?