User Profile
Collapse
-
why not? without it the code looks nothing like it should. Example, if i do a regular encrypt the string looks a certain way, i can then run this a s a decrypt and it does fine. But when i get it from my client and do the decrypt without base64, the string doesnt look like the output I would have created. get it? -
It was suggested by someone else. With it the resulting value "looks" like it should. Meaning it the string looks like the encrypted value (before HEX) that XTEA produces when doing and encryption.Leave a comment:
-
crap. still lost and its not decrypting. This is where I'm at.
Code:// convert HEX key to ASCII (working) $ascii_key = hexToAscii('28d75A09ec63c32b1e870fad25e79b8c'); // (×Z ìcÃ+‡*%盌 // convert XTEA encrypted HEX value to ASCII (working) $ascii = hexToAscii($text); // °ŸO´jÔAŽQäàœlª:6b½ÂدjÓðgÊ9#¨QÖ9@'XÕ}IÌ}ïŒ{![KP¢Èÿ—¢žî¥õu÷¨b‹Û9wgGâDþ[iØÍc¤Ü€S`ðËK‰L¨kV虵Gþ£©ÿmnLd¶Ê{+3@Fçèdj0/co£IÃîøÄ\:tCU)+1ª"Í:Eçr-po1ë×ΰ¶í[Á`ëÖ/®6èEç…|
Leave a comment:
-
-
-
Thanks to @xyph for the help. I think I'm almost there. I can get the encrypted string to change to base64 and it "looks" correct, but it still will not decrypt. Could I still be having an issue with the key string of "28d75A09ec63cx vxve870fad25e79 b8c"? How do I change this into 16 characters? Below is my current code.
Code:$ascii_string = ''; foreach( str_split($text,2) as $chunk ){ $ascii_string .= chr(hexdec($chunk));
Leave a comment:
-
XTEA Encryption/Decryption
I am trying to decrypt a code encrypted with XTEA. I have been using a script found here, http://goo.gl/xCpgs and it works within its own encrypt/decrypt example. The problem is that it will not decrypt a code given to me by my client. In the code examples description it says the "key" is 16 characters, but the key I have from my client is 32 characters so I think this may be part of the problem, but I cannot find out in the code how to... -
Reverse / Drop Up Style Accordion
Howdy Community,
I have spent the past 4 hours strait looking for and trying to modify an accordion style vertical menu who's elements slide out of the top and up instead of the normal slide out of the bottom and down action.
I would like it in jQuery, but at this point I will take any library. Thanks for your help. I know some have wondered "What have you tried making work".. jQuery Tools, Jquery UI and... -
I'm posting other data as well and it comes through fine. I am viewing results with a print_r. Latin characters also do not pass.Leave a comment:
-
Japanese Kanji in forms and passing via POST
I hope this question is in the right forum. I figured since the end result is a PHP result it fits here.
I have a normal HTML form. In it are text fields. Some of my customers will be filling the form with Kanji and Katakana characters. The form shows as filling fine, but when submitted, the returning POST values are empty. I have checked all over the web and i just cant seem to find anything about what I'm missing.
... -
The solution I ended up going with was
Code:RewriteRule ^(big-widget)/([^/\.]+)/(.*) $2-$1es/$3 [R=301,L]
Code:RewriteRule ^([^/\.]+)/([^/\.]+)/(.*) $2-$1es/$3 [R=301,L]
Leave a comment:
-
Mod Rewrite 301 Help
I need to 301 some links. I have been getting my knees wet with ModRewrite for a while now, but this one seems to throw me. The format I'm looking for is below.
Old - http://www.sitename.co m/big-widget/blue/2.html
New - http://www.sitename/blue-big-widgets/2.html
Two thinks to note, I have added a (s) to the end of widgets. As well as the 2.html will be any number between 1-100 depending on the page.... -
XML - urlencode - iTunes
I am placing this in the PHP sections because I think you all will know this answer the quickest. I am creating a podcast. I have created the XML file successfully. I have placed the file on my server and have gotten one of my podcast clients (Media Monkey) to pick it up and the mp3 files within it successfully. My issue is that when i try an get iTunes to work with it there is problems. iTunes will read the XML, but will not download the mp3's.... -
Css Positioning for navigation
http://sb.cesarvillaca.com/footer-bug.html (code at the bottom)
I have been trying like crazy to get the positioning of this nav correct. I need to get each of the navs to position exactly over their respective links. So the white "Products" word (over state) should sit exactly over the purple "Products" link. It should stick in the correct position on screen resolution change too. This nave will be localized too... -
jQuery nav not responding
I'm building a navigation that is built heavily on jQuery. I have it working as needed except that when mousing over links to quickly it spikes the processor and the navigation hangs. By hangs i mean it stops working and even the links will not show rollover states. I thought it was just a matter of adding a stop() but this changed nothing. Any ideas?
Here it is online http://sb.cesarvillaca.com/nav/nav.html
The code... -
Looking for jQuery fullscreen scroller
Hey fellow coders. I've been searching for a script, but I'm coming up empty. The script will display products in a single row full screen left to right. To slide the products there is a pull bar. You can see how the exact script works on http://www.logitech.co m/en-us/keyboards/keyboards. Does anybody know of a complete script, or at least one that is close enough to alter. Thanks much. -
How can I get a referral fee for product sales?
The idea would be that customers come to my site to see products from many sites that I have created partnerships with, then once they choose what they like, they go to the website the product is on and make the purchase. My question is how to I get paid for hooking up the buyer to the seller? I know the standard would be that I will have some type of affiliate marketing or advertising on my site, but is there a way I can get paid for the actual... -
-
Does this not count as checking for an error? It returns nothing important that I see....Leave a comment:
-
No activity results to display
Show More
Leave a comment: