255
255
// to w and returns a WriteCloser to which the to-be-encrypted packets can be
257
257
func SerializeSymmetricallyEncrypted(w io.Writer, c CipherFunction, key []byte) (contents io.WriteCloser, err os.Error) {
259
259
return nil, error.InvalidArgumentError("SymmetricallyEncrypted.Serialize: bad key length")
261
261
writeCloser := noOpCloser{w}