registration code

Is there a plugin that modifies registration so a code is needed for validation?

Drupal has a similar module - view link

This would be extremely useful for sites that need a special kind of exclusivity