❔ How to convert line endings from my not encypted string to my encypted string
I tried already
But that does not work
28 Replies
i Encrypt my text
But
it does not copy the lines
because i wanna write that in a file
but it goes all in 1 long line
and not like before in more lines...
i hope anyone can help me 🙂
Has no one a idea?
:/
idk what you're doing but I can point out two things about the code you should improve
1. use early returns
2. using has a second form that applies to the current scope
use that form
using var stream = new blah();
like that?
did you even change anything
i try to give me Encrypted string the same line brakes
yes...
they mean like this
oh
yea well thats cleaner
thxx
But do you know
how i can give the EncryptString the same linke brakes
no clue, sorry
:/ ok
That is how it should look after a line
![](https://utfs.io/f/9e9e3ea4-7861-4d07-a983-522a6f45f513-1nq2cb.png)
but it does just 1 very long line
![](https://utfs.io/f/ab61acb9-2234-4ad5-95d7-2fd262073f04-1nq2cb.png)
i try to do the old line brakes before it get encrypted to the encrypted one
any one a idea?
so just to clarify, you want to keep the line breaks from the original string? and somehow take those over to the encrypted one?
or do you just want to add line breaks after a certain amount of characters
cause i mean,
Base64FormattingOptions.InsertLineBreaks
existsyes