Is there any PHP tutorial teaching ppl how PHP deal with keys operation from what I have so far? such as get the public key's base64 value back to original DSA public key file, and decrypt msg encoded with private keys for authentication... ? I am trying to read a single public key and verify the user's digital signature which signed with user's private key.
For example, I have the public key file, UserId.key,
- Code: Select all
$fp=fopen("/public key folder/UserId.key","r");
$pub_key=fread($fp,8192);
I was trying to make the above code work, but with no luck.
Thanks in advance !!



