I have a number like this "3344550043374314" and I need an algorithm that can cypher this number and then add it to a VARCHAR column in a database.
- The encrypted number must not exceed the DB COLUMN size (19)
- Database column type cannot be altered
I've tested with "one time pad", "CaesarCipher", "DES", "secure HASH". None of them worked as a solution to this.
I need and encrypt/decrypt function that receives a key and string.