Advertisement
RomanczuG

Untitled

Oct 15th, 2017
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Szyfrator
  8. {
  9. public class Szyfrowanie
  10. {
  11. public string klucz, wiadomosc;
  12. string[] wiad_dec;
  13. public Szyfrowanie(string klucz, string wiadomosc)
  14. {
  15. this.klucz = klucz;
  16. this.wiadomosc = wiadomosc;
  17. wiad_dec = new string[wiadomosc.Length];
  18. }
  19.  
  20. public void wynik()
  21. {
  22. for(int i=0; i<wiadomosc.Length; i++)
  23. {
  24. //wiad_dec[i] = wiadomosc[i] tutaj chciałbym zamieniać char'a na liczbę (najlepiej dziesiętną) z systemu ASCII
  25. }
  26. }
  27.  
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement