Navigate to Device > Users > Settings > Authentication.
Select Enable non-reversible storage of passwords. This option is not selected by default.
A warning message will appear asking whether to convert existing passwords to irreversible hashes. Once converted, original passwords cannot be recovered.