Find Jobs
Hire Freelancers

Convert C# RSA Verify to Equivalent Unmanaged C++

$30-5000 USD

Cancelado
Publicado hace alrededor de 15 años

$30-5000 USD

Pagado a la entrega
I want a command line utility which accepts one parameter (a filename), which is passed to the a C++ function which implements the equivalent of the? C# found below. This should run on Windows 2000, XP, 2003, Vista, 2008. I will attach an example file which verifies correctly when run through this function (and therefore the equivalent C++ version). public static bool VerifyFile(string fqfile) { ? string xmlString = "<RSAKeyValue><Modulus>oxk4mff1XcmT8nzk6d8jpR4mS4E4KlzbZ+47L3NfJttMIrNcV9eBCfgvj9beFhBKW90DdTcq5jMzmCGLoiYUCsFEniEdotNetx+KXZmF9xOzNMFJYg0YUFnZFxKYTxXn1yllobv8k0TvksLNvOC5VvnEN6PHvZeL8SYxqX1AmOsuVdMohk2JAbNrig6rNMe8CIFRKjSgg2Bvd84Kqafor68v+7e18OF3bg86RG2C++oxFiQ3UUvW7ZUurMvrwUZCfQvtiSTMEU8p/tazAB4XuqbYKrGaV94GMa21PZVz/TE4x36vgeVwGIDxi0Fh4z9jIbQM9rUpnugogr9Bsfum0Q==</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>"; ? int dwKeySize = 2048; ? StreamReader sr = new StreamReader(fqfile); ? string filedata = [login to view URL](); ? [login to view URL](); ? string[] parts = [login to view URL](new string[] {"-----BEGIN PROPRIETARY SIGNED MESSAGE-----\r\n","-----BEGIN PROPRIETARY SIGNATURE-----\r\nidentifier=[login to view URL]\r\n","-----END PROPRIETARY SIGNATURE-----\r\n" },[login to view URL]); ? string inputString = parts[0]; ? string signature = parts[1]; ? RSACryptoServiceProvider rsaCryptoServiceProvider = new RSACryptoServiceProvider(dwKeySize); ? [login to view URL](xmlString); ? byte[] bytes = [login to view URL](inputString); ? byte[] sigbytes = [login to view URL](signature); ? return [login to view URL](bytes, "SHA512", sigbytes);? ? ? ? ? ? ? ? ? ? ? } ## Deliverables Unmanaged C++ command line tool to verify a specified file which is passed as the only parameter. Should be done in Visual Studio 2005 or Visual Studio 2008. Resulting executable should be standalone and run in Windows 2000, XP, 2003, Vista, 2008. Attached is an example of a signed file which passes verification VerifyFile() in C# and should therefore pass verification in the equivalent C++ code.
ID del proyecto: 3648933

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 15 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
4 freelancers están ofertando un promedio de $62 USD por este trabajo
Avatar del usuario
See private message.
$85 USD en 14 días
4,9 (29 comentarios)
5,2
5,2
Avatar del usuario
See private message.
$85 USD en 14 días
4,9 (13 comentarios)
4,1
4,1
Avatar del usuario
See private message.
$51 USD en 14 días
5,0 (5 comentarios)
1,8
1,8
Avatar del usuario
See private message.
$25,50 USD en 14 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
72
Miembro desde may 24, 2007

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.