日記
WSSE認証チェックコード (22:15)Edit

$pwddigest = base64_encode(pack('H*', sha1($nonce . $created . $password)));

PHP 5ならば、

$pwddigest = base64_encode(sha1($nonce . $created . $password, TRUE));

と書けるらしい。

Published At2005-09-12 00:00Updated At2005-09-12 00:00