print $cipher->decrypt($ct); gives back the decrypted text (plain text I started with). However, instead of decrypt($ct) when I try to copy and paste the content of the variable $ct, it gives me totally different piece of text! How can I get my plain text back by using the 'content' of the variable $ct and not the variable. This is due to the fact that I will be saving the encrypted text into a file, and I wanna get the plain text whenever I decrypt the cipher text.$cipher = Crypt::Twofish->new($key); $ct = $cipher->encrypt('encrypted text 1');
In reply to encryption using Twofish by mavili
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |