C#
PHP
HMAC-MD5 Authentication
The following code samples provide examples for creating a HMAC-MD5 encryption algorithms in JavaScript and Perl for Forte's SOAP web services and Secure Web Pay application, specifically the pg_ts_hash
(SWP) and TSHash
(SOAP web services) parameters. NOTE: The JavaScript code should only be used internally or on a secure intranet as the Secret Key is viewable to anyone who views the HTML source code.