Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Szyfrator
- {
- public class Szyfrowanie
- {
- public string klucz, wiadomosc;
- string[] wiad_dec;
- public Szyfrowanie(string klucz, string wiadomosc)
- {
- this.klucz = klucz;
- this.wiadomosc = wiadomosc;
- wiad_dec = new string[wiadomosc.Length];
- }
- public void wynik()
- {
- for(int i=0; i<wiadomosc.Length; i++)
- {
- //wiad_dec[i] = wiadomosc[i] tutaj chciałbym zamieniać char'a na liczbę (najlepiej dziesiętną) z systemu ASCII
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement