• II kurs 301-21 topar studenti Keńesbaeva Dilfuzanıń « Kiberqawipsizlik tiykarları» páninen
  • Cezar usılında maġlıwmatlardı shifrlaw hám dishifrlaw.
  • Analitikalıq usılda maġlıwmatlardı shifrlaw hám dishifrlaw. Shifrlanıw
  • Dishefrlanıw
  • Gamelton usılda maġlıwmatlardı shifrlaw hám dishifrlaw. Shifrlanıw
  • «Kompyuter injineringi» fakulteti «Kompyuter injineringi» baǵdari II kurs 301-21 topar studenti Keńesbaeva Dilfuzanıń




    Download 0.99 Mb.
    Sana15.01.2023
    Hajmi0.99 Mb.
    #38299
    Bog'liq
    Kenesbaeva.Dilfuza Kl qq Kiberqawipsizlik ameliy
    2-Mustaqil ish, 11.JAMIYATNING IQTISODIY SOHASI VA DAVLATNING IJTIMOIY SIYOSATI, 1-A Qurmat Matniyazov Muxammed, hdfdhdh - копия (2), Surxondaryo tarixi O\'quv qo\'llanma (3), kkkkk maktabgacha kurs ishi

    ÓZBEKSTAN RESPUBLIKASÍ INFORMACIYALÍQ TEXNOLOGIYALARÍ HÁM KOMMUNIKACIYALARÍN RAWAJLANDÍRÍW MINISTRLIGI
    MUXAMMED AL-XOREZMIY ATINDAǴÍ
    TASHKENT INFORMACIYALÍQ TEXNOLOGIYALARÍ UNIVERSITETI NÓKIS FILIALÍ


    « Kompyuter injineringi » fakulteti
    «Kompyuter injineringi» baǵdari
    II kurs 301-21 topar studenti
    Keńesbaeva Dilfuzanıń
    « Kiberqawipsizlik tiykarları»
    páninen





    Ózbetinshe jumısı

    Tayarlaǵan ________________ D.Keńesbaeva
    Qabıllaǵan _________________ G.Saparova
    Nókis – 2022

    1. Cezar usılında maġlıwmatlardı shifrlaw hám dishifrlaw.

    package javaapplication37;
    import static javax.management.Query.in;
    public class JavaApplication37 {
    public static void main(String[] args) {
    String s1 = "Magliwmat";
    int k = 1;
    char [] simvol = new char[s1.length()];
    for (int i=0; iif(Character.isLetter(s1.charAt(i)) && Character.isUpperCase(s1.charAt(i)))
    simvol[i] = (char) (((((int)(s1.charAt(i)))-'A'+k)%26)+'A');
    else if (Character.isLetter(s1.charAt(i)) && Character.isLowerCase(s1.charAt(i)))
    simvol[i] = (char) (((((int)(s1.charAt(i)))-'a'+k)%26)+'a');
    else
    simvol[i] = s1.charAt(i);
    }
    System.out.println(simvol);
    String s2 = String.copyValueOf(simvol);
    System.out.println("Shifrlaw: " + s2);
    System.out.println("Deshifrlaw: " + s1);
    }
    }



    1. Analitikalıq usılda maġlıwmatlardı shifrlaw hám dishifrlaw.


    Shifrlanıw:
    package javaapplication38;
    import java.util.Scanner;
    public class JavaApplication38 {
    public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    System.out.print("n=");
    int n = in.nextInt();
    String a = "Magliwmat";
    for (int i = 0; i char b = a.charAt(0+i);
    int r = (int)b;
    System.out.print(r+" ");
    System.out.println(r*n + " ");
    }
    }
    }



    Dishefrlanıw:
    package javaapplication39;
    import java.util.Scanner;
    public class JavaApplication39 {
    public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int a = 770;
    a = a/10;
    char b = (char)a;
    System.out.print(b);
    int c = 970;
    c = c/10;
    char d = (char)c;
    System.out.print(d);
    int e = 1030;
    e =e/10;
    char f = (char)e;
    System.out.print(f);
    int g = 1080;
    g =g/10;
    char h = (char)g;
    System.out.print(h);
    int i = 1050;
    i =i/10;
    char j = (char)i;
    System.out.print(j);
    int k = 1190;
    k =k/10;
    char l = (char)k;
    System.out.print(l);
    int n = 1090;
    n =n/10;
    char m = (char)n;
    System.out.print(m);
    int z = 970;
    z =z/10;
    char x = (char)z;
    System.out.print(x);
    int y = 970;
    y =y/10;
    char p = (char)y;
    System.out.print(p);
    int q = 1160;
    q =q/10;
    char r = (char)q;
    System.out.print(r);
    System.out.println("");
    }
    }



    1. Gamelton usılda maġlıwmatlardı shifrlaw hám dishifrlaw.


    Shifrlanıw:
    package javaapplication40;
    import java.util.Scanner;
    public class JavaApplication40 {
    public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    String a = "Menin_atim_Dilyafruz";
    int n = in.nextInt();
    String b = a.substring(0, n);
    String c = a.substring(n, n+4);
    String d = a.substring(n+4, n+8);
    String e = a.substring(n+8, n+12);
    String f = a.substring(n+12, n+16);
    System.out.println(b);
    System.out.println(c);
    System.out.println(d);
    System.out.println(e);
    System.out.println(f);
    String p = f+d+b+e+c;
    System.out.println(p);
    String g = p.substring(0, n+1);
    String h = p.substring(n+1, n+6);
    String i = p.substring(n+6, n+11);
    String j = p.substring(n+11, n+16);
    System.out.println("shifrlaniwi:");
    System.out.print(g+" ");
    System.out.print(h+" ");
    System.out.print(i+" ");
    System.out.print(j+" ");
    }
    }






    Dishefrlanıw:
    package javaapplication41;
    import java.util.Scanner;
    public class JavaApplication41 {
    public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    String a = "fruzim_DMeniilyan_at";
    System.out.print("B=");
    int n = in.nextInt();
    String b = a.substring(0, n);
    String c = a.substring(n, n+4);
    String d = a.substring(n+4, n+8);
    String e = a.substring(n+8, n+12);
    String f = a.substring(n+12, n+16);

    String q = d+f+c+e+b;


    System.out.println("Deshifrlaniwi: "+q);

    }
    }



    Download 0.99 Mb.




    Download 0.99 Mb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    «Kompyuter injineringi» fakulteti «Kompyuter injineringi» baǵdari II kurs 301-21 topar studenti Keńesbaeva Dilfuzanıń

    Download 0.99 Mb.