require_once "class.bpencryptor.php";
$obj = new BPEncryptor();
//call this method by providing plain password (eg: abc123)
$obj->encryptText("abc123");
//call this class property to display encrypted text
//example result: 2m6q5f5pS8T0r7t0R7t0e4r8d3Q7c2q78S9j0J0K
echo $obj->encryptedText;
//call this method by providing encrypted password
$obj->decryptText("2m6q5f5pS8T0r7t0R7t0e4r8d3Q7c2q78S9j0J0K");
//call this class property to display plain text
//example result: abc123
echo $obj->plainText;