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
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
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., 2024: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho