Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL 2005 Decryption RC4 values from another system.

Status
Not open for further replies.

hugostyles

Programmer
Jun 5, 2001
12
GB
Does anyone know if this is possible.

1. Credit card number is encrypted RC4 standard on iSeries box.
2. The encrypted data is sent to SQL 2005 in csv format with the password used for the encryption.

e.g.

Encrypted Value | Password
˜ž†?âD¯k“(‘ˆ›´ | MyPassword
šœ? {¶ª“ᛊ›¯ | MyPassword

3. Can we decript colum1 (Encrypted Value) using t-sql on SQL 2005 to reveal the credit card number?

All my research suggests that you can only decrypt what was encrypted on a SQL Server. Is this correct?




 
Thanks for the response. I think I tried that and it basically encrypted my already encrypted credit card. e.g.

˜ž†?âD¯k"('ˆ›´ >>> 234asf9!"$"£$

and then back to ˜ž†?âD¯k"('ˆ›´

That link you sent work well for encryption/decryption - on the same SQL Server or between SQL Servers. I'll keep hunting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top