Hi,
I am having an server which needs to generate a unique RC4 key for each session , share the rc4 key with an viewer and both exchange the data.
The server is running on MAC and hence it is using OpenSSL API to generate the RC4 key . The viewer is using Microsoft Crypt API to decrypt.
Following is the code am using to generate 87 bit rc4 key in MSRC4 format..
unsigned char *buffer;
buffer = (unsigned char *)calloc(1024*4, sizeof(unsigned char));
//NSAssert((buffer != NULL), @"Cannot calloc memory for buffer.");
int j = RAND_bytes(buffer, 1024) ;
int k ;
strcat(_RC4Key, "128 bitL ");
for( k = 0; k < 76; k++)
{
_RC4Key[k+11] = buffer[k];
}
//Send the RC4 key to Windows viewer...
I believe the key is stored in reverse order for MSRC4.
Any inputs will be highly useful.
Thanks
After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome
Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.2.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38083
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome
Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.2.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38083
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Generate RC4 Key using OpenSSL ,encrypt/decrypt using MSRC4
-
- Posts: 1
- Joined: 2010-07-13 11:58
Re: Generate RC4 Key using OpenSSL ,encrypt/decrypt using MS
yesI believe the key is stored in reverse order for MSRC4.
you can ask adzm, maker of securevnc so have a lot of knowledge about security or krunge knowledge security and alternate OS linux/unix/mac
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
OS Win: xp home + vista business + 7 home
only experienced user, not developer