Situation:-
I am using Python. I am using RSA and I am using two 64 bit keys. I am not an cryptographer . I can provide you the RSA code if needed but i am not posting it as it doesn't have to do anything with the problem. I have to give the private key to a human to remember well 64bit key cannot be remembered by normal humans as far as know.
Problem: -
I want a method to compress my 64bit key to at least an integer of 10 digits and a method when those 10 digits are entered they decompress back to 64bit key.
Solution I have tried: -Converting my 64 digit integer sequence to an string phrase or a string (the worst Idea wasted a lot of time do not try yourself).
Using basic math operations such as 'division', 'subtraction', etc. This proved to be not a good practice as it is easily readable in the code.
Note
I need not to change the private key whenever programs run but whenever client wishes to.