11396 Perl and .NET Cryptography - Perl Programming
Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Perl and .NET Cryptography

Posted by terrjie (terrjie), 17 May 2006
Hi everybody

I need to encrypt some data with a public RSA-Key that looks like that:

Code:
<RSAKeyValue>

<Modulus>mCqFIOtiqQOuCo5jNrtVoRHBYn7rd2nbUB1ERPM54H3d7XsYUREUOvfZboGMszu
6Uyn2Rxrz/jeYtsXuSTarZKPw9iH14zu3NOwdGJSn+JpeLQpiZAZ11e3SPf3SuO3vxWxWhUA
0iS6MmhDeZvgwWKUM/0k0Z1jm3lJ04lScq5c=</Modulus>
<Exponent>AQAB</Exponent>

<P>yZXEpjsyDdJ+H2o2OIjF9/SuhQKdoGiHGeQO3g50MFcmDhFsb+fSq+f1ib8dE6ZmbVSYF
9CRxfGVSV4IfcRheQ==</P>

<Q>wT266tcXgamAwtb+YLx4USUntSVRwdoaSi4nkYaSAiyt3a78IgqSbWLuNqj1eT/Q1RfAh
t68r0nxhc1+HF7Bjw==</Q>

<DP>XMKDC+8fNEbs7G3GYAEkv7Wi/Oe4OtD+ogZUZRAHnRrtEvoniNMHGT2SugDsU1d1uId9
uS+rdId3J5ySkbTlGQ==</DP>

<DQ>olZJgJ/Rj4vmL8iNSpcKTGUKCpOfa0reaxL7CrYSUuFV7rUGuAJJoLtLg3/NOF70ARBD
HQphWKC11cIb/5la4Q==</DQ>

<InverseQ>VeZpGskJrC73YbnSZ+2ZWGcpaLD87kjDx686rEew2sQekgnQ1+yic7HBfvWwxW
34JmN6wQtXJ9FmvOzuK4Af0A==</InverseQ>

<D>gkMMGmVG3VcIG4NPDaASDkqP2Si7nEsjcs7LDZeF+VbmsBDLfUJ4pg5ctUvzzc+Yru7iJ
Ha/XuXrNrP0S/qf90KdxU09eePO/vmrouoPER7WuNai5A1YxGYT3KP4z1PAkUo6lpudhVQpH
9B7q8L4/+F1k5ewPuFPYahDGWJl/fE=</D>
</RSAKeyValue>


The guys who gave me that key are working with .NET, and I couldn't find anything about these keys and Perl.
Does anybody know how to convert such a key or use it with Perl

cu
Terrjie



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2013: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho
0