Sean’s Blog
Published in

Sean’s Blog

WOL Apgar Routine

Westwood Studios © EA

APGAR is an encrypted token sent to the server to identify a user’s password. This is a one-way encryption routine and cannot be decrypted. All legacy Command and Conquer game client passwords using this algorithm must be exactly 8 characters long.

Psuedo-code implementation

PHP Implementation (Sean Wragg)

Javascript Implementation (Sean Wragg)

C++ Implementation (

mIRC Script Implementation (Frank Razenberg)

Originally published at on August 26, 2010.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store