I've followed the TechNote 
(http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=e546373d) to the 
letter, trying to get RC2 encryption/decryption to work.  I keep getting "last 
block incomplete in decryption" error no matter which keys I use.  It works 
fine for RC4.  What am I doing wrong?

#Decrypt("M5Kbj6C5nsmJRQ==", '12345678', 'RC2', 'Base64')#

This works without a hitch:

#Encrypt("testing123", '12345678', 'RC4', 'Base64')# (outputs s/BfPyimOCBlqg==)
#Decrypt("s/BfPyimOCBlqg==", '12345678', 'RC4', 'Base64')# (outputs testing123)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256104
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to