<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://saml.xml.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>&#039;s blog</title>
 <link>https://saml.xml.org/blog/jluke</link>
 <description></description>
 <language>en</language>
<item>
 <title>CALCULATING DIGEST OF AN AUTHENTICATION STATEMENT</title>
 <link>https://saml.xml.org/blog/calculating-digest-of-an-authentication-statement</link>
 <description>Hi there  &lt;br /&gt;
 I&#039;m trying to calculate the Digest value of a SAML Authentication&lt;br /&gt;
STatement whith the SHA-1 algorithm. Let us suppose that we are dealing&lt;br /&gt;
with a string representing the following node: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;saml:AuthenticationStatement&amp;gt; &lt;br /&gt;
    &amp;lt;saml:Subject&amp;gt; &lt;br /&gt;
        &amp;lt;saml:NameIdentifier&amp;gt;JLUKE&amp;lt;/saml:NameIdentifier&amp;gt; &lt;br /&gt;
    &amp;lt;/saml:Subject&amp;gt; &lt;br /&gt;
&amp;lt;/saml:AuthenticationStatement&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When I try to calculate SHA-1 with the function  b64_sha1(str2Digest)  what

&lt;p&gt;&lt;a href=&quot;https://saml.xml.org/blog/calculating-digest-of-an-authentication-statement&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>https://saml.xml.org/blog/calculating-digest-of-an-authentication-statement#comments</comments>
 <pubDate>Tue, 23 Sep 2008 19:22:53 +0000</pubDate>
 <dc:creator>jluke</dc:creator>
 <guid isPermaLink="false">161 at https://saml.xml.org</guid>
</item>
</channel>
</rss>
