Odd question...but I need a private key encryption (or complex enough encoding) that outputs 64 random characters - given a string of 30 characters.
Blowfish or similar seems over kill and would probably not produce the fixed 64 byte result...also I'm less concerned with security more concerned with tampering - so a simple encoding scheme like rot13 won't suffice.
Short of using something like blowfish or building from scratch...
Any existing code I could pull from?
I guess I could pad the 30 char with the remaining 34 then basically I have to scramble all the chars -preferably using a private key.
Any existing packagist project I could use???
If you're not looking for something completely solid and cryptographically strong, you may just use RC4 algorithm with shared secret.
The implementation is here, for example - https://gist.github.com/farhadi/2185197
As for making the output exactly 64 bytes long - what's wrong with padding?