NSSecureTextField Class Reference
Available in OS X v10.0 and later.
NSSecureTextField is a subclass of
NSTextField that hides its text from display or other access via the user interface. It’s suitable for use as a password-entry object or for any item in which a secure value must be kept.
NSSecureTextField uses NSSecureTextFieldCell to implement its user interface.