javascript implementation of encryption including plausible deniability
<p>Is there any javascript implementation of encryption including plausible deniability?</p>

<p>I want something exhibiting the features described here: <a href="http://en.wikipedia.org/wiki/Deniable_encryption" rel="nofollow">http://en.wikipedia.org/wiki/Deniable_encryption</a></p>

<p>Deniable encryption allows the sender of an encrypted message to deny sending that message. This requires a trusted third party. A possible scenario works like this:</p>

<ol>
<li>Alice is the wife of Bob, who suspects his wife is engaged in adultery. She wants to communicate with her secret lover Carl. She creates two keys, one intended to be kept secret, the other intended to be sacrificed. She passes the secret key (or both) to Carl.</li>
<li>Alice constructs an innocuous message M1 for Carl (intended to be revealed to Bob in case of discovery) and an incriminating love letter M2 to Carl. She constructs a cipher-text C out of both messages M1, M2 and emails it to Carl.</li>
<li>Carl uses his key to decrypt M2 (and possibly M1, in order to read the fake message too).</li>
<li>Bob finds out about the email to Carl, becomes suspicious and forces Alice to decrypt the message.</li>
<li>Alice uses the sacrificial key and reveals the innocuous message M1 to Bob. Since Bob does not know the other key, he has to assume that there is no other message M2.</li>
</ol>
