PHP routines for verifying Bitcoin signatures