openra first commit!

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1053 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
chrisf
2007-06-19 08:51:17 +00:00
commit b59ba43934
11 changed files with 1350 additions and 0 deletions

26
MixDecrypt/MixDecrypt.h Normal file
View File

@@ -0,0 +1,26 @@
// MixDecrypt.h
#pragma once
#pragma unmanaged
#include "mix_decode.h"
#pragma managed
using namespace System;
namespace MixDecrypt {
public ref class MixDecrypt
{
public:
static array<Byte>^ BlowfishKey( array<Byte>^ src )
{
array<Byte>^ dest = gcnew array<Byte>( 56 );
pin_ptr<Byte> s = &src[0];
pin_ptr<Byte> d = &dest[0];
get_blowfish_key( s, d );
return dest;
}
};
}