The magsafe connector talks 1-wire, not the charger itself. It provides serial number and version info but no DRM/crypto. The Mac also uses the 1-wire to control the LEDs on the connector. See my teardown for the details:
http://www.righto.com/2013/06/teardown-and-exploration-of-ma...