Business Desk - encryption -- urgent help please

This is Interesting: Free IT Magazines  
Home > Archive > Business Desk > February 2005 > encryption -- urgent help please





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author encryption -- urgent help please
Fadi Meqbel

2005-02-15, 5:50 pm

I know how to encrypt the credit card and exp date in BizDesk, I enabled the
symmertic encryption and it does not work. I read through
the article
http://msdn.microsoft.com/library/d...mapper_nhsv.asp and th

I just do not see the cnGetProviderConnection method in
CommonXmlRoutines.asp.

I also tried to add in the web.config
<profiles>
<encryption>
<keys keyIndex = "1">
<add type="publicKey" value="<hex-string>" />
<add type="privateKey1" value="<hex-string>" />
<add type="privateKey2" value="<hex-string>" />
</keys>
</encryption>

and it is still not working it directs me to an error page
Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".


please help.
SampathTangudu

2005-02-17, 2:46 am

in the web config file add this lines we need to generate a hexa digit
number for public and provate key you can use the key which i have
generated or u can genet\rate one using a commerce serve api to generate
keys

try this

<encryption>
<keys keyIndex = "1">
<add type="publicKey"
value=" 0602000000a40000525341310002000001000100
e5f87c945c011304f14f4485b05bd6865d3ca868
38d786c9c9b7a440a0516c5eafb81c4089800604
ead66520f4a323e7356f636694db897a3cf7a80e
ff09f7ce"/>
<add type="privateKey1"
value=" 0702000000a40000525341320002000001000100
e5f87c945c011304f14f4485b05bd6865d3ca868
38d786c9c9b7a440a0516c5eafb81c4089800604
ead66520f4a323e7356f636694db897a3cf7a80e
ff09f7ce6d3149ce20b0a5ab8ddcdb16a990e883
de1310bce57130522adcab6c4e4e4aef59b2419c
da598ebe
cafa6f601103bee329852af3d1c75e88909e989f
20de6adda1f21a30c94a081e952600f11489725a
aee50ba64f336c8bc0953f9b6fa4e93251703286
b0c44ffa263fc72f99bc752d0ecf79d539337cac
d93dc6f238504b5de99450d07a18066c2927f4f5
69df5a44507a6ae94e0e8cb74c5b774a37ca204d
8110ca9de943acc
e39b4eb80efaba753d7535f0d34bad7459d7d8d1
2b04349db9d4e5fc37125b8f57f29a28051436c6
04c26962dc691ae6b62d301b758889f90"/>
</keys>
</encryption>


and regarding cnGetProviderConnection method

find this method and do as given both or same
sGetProviderConnStr()

you should find that method





Fadi Meqbel

2005-02-17, 5:51 pm

I was able to encrypt but not to decrypt. using the Asymmetric encryption

"SampathTangudu" wrote:

> in the web config file add this lines we need to generate a hexa digit
> number for public and provate key you can use the key which i have
> generated or u can genet\rate one using a commerce serve api to generate
> keys
>
> try this
>
> <encryption>
> <keys keyIndex = "1">
> <add type="publicKey"
> value=" 0602000000a40000525341310002000001000100
e5f87c945c011304f14f4485b05bd6865d3ca868
38d786c9c9b7a440a0516c5eafb81c4089800604
ead66520f4a323e7356f636694db897a3cf7a80e
ff09f7ce"/>
> <add type="privateKey1"
> value=" 0702000000a40000525341320002000001000100
e5f87c945c011304f14f4485b05bd6865d3ca868
38d786c9c9b7a440a0516c5eafb81c4089800604
ead66520f4a323e7356f636694db897a3cf7a80e
ff09f7ce6d3149ce20b0a5ab8ddcdb16a990e883
de1310bce57130522adcab6c4e4e4aef59b2419c
da598e

becafa6f601103bee329852af3d1c75e88909e98
9f20de6adda1f21a30c94a081e952600f1148972
5aaee50ba64f336c8bc0953f9b6fa4e932517032
86b0c44ffa263fc72f99bc752d0ecf79d539337c
acd93dc6f238504b5de99450d07a18066c2927f4
f569df5a44507a6ae94e0e8cb74c5b774a37ca20
4d8110ca9de943a
cce39b4eb80efaba753d7535f0d34bad7459d7d8
d12b04349db9d4e5fc37125b8f57f29a28051436
c604c26962dc691ae6b62d301b758889f90"/>
> </keys>
> </encryption>
>
>
> and regarding cnGetProviderConnection method
>
> find this method and do as given both or same
> sGetProviderConnStr()
>
> you should find that method
>
>
>
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com