title: is there any inbuilt way of validation,encryption and recovery of password in java
body: <p>Instead of comparing a <strong>string</strong>, Is there any inbuilt <strong>class</strong> or <strong>method</strong> in <strong>java</strong> for <strong>validation, encryption</strong> and <strong>recovery</strong> of <strong>password</strong> . Or else is there any usable class library available for such a purposes. Thank you!!</p>