Custom capability for a single user

I solved it myself 🙂
I just added custom capability to the user-

$user = new WP_User(1); //1 is the admin ID
$user->add_cap( 'see_encrypted_pass' );

Then checked-

if(current_user_can('see_encrypted_pass')){
    //encrypted password
}

It works!!

techhipbettruvabetnorabahisbahis forumutaraftarium24eduedusedueduseduseduseduedueduedu