# $EPIC: sedcrypt.txt,v 1.2 2006/08/19 09:35:40 sthalik Exp $
$sedcrypt(<flag> <from> <text>)
This is a debugging function. It should not be used unless you are debugging. They encrypt and decrypt <text> using the current crypt settings for the peer <from>. Ciphertext is always CTCP enquoted. That does not mean it is /echo'able, only tha it can be sent in a PRIVMSG.
- If <flag> is 0, whatever <text> would look like if <from> sent it to us.
- If <flag> is 1, whatever <text> would look like if we sent it to <from>.
The $sedcrypt() function first appeared in EPIC4-1.1.14.