I am using an API called SET-PDF Stamper
Our passwords use a hash and I am trying to use the hashed passwords with the setasign PDF api. In the documentation I see they support encryption but I can't find anything on hashing. Is there any way to implement their password protection on the document verifying the password hash?
Our hash uses the following password_hash("password", CRYPT_BLOWFISH, $options);
Normally you would use password verify in this situation but I don't see a way to implement it with the setasign api.
password_hash
is generated with a password plaintext and a salt. This means the same plaintext creates many different hashes with this method. This means your earlier comment about hash repetition does not hold here. – Martin