Konuyu Oyla:
  • Derecelendirme: 5/5 - 1 oy
  • 1
  • 2
  • 3
  • 4
  • 5
File Encoder Proje
#1
www.deccal.org

ALGORİTMA

www.deccal.org

DÖNÜŞÜM KODLARI

HEX TO STR

Kod:
public static string HexStrToStr(string hexStr)
        {
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < hexStr.Length; i += 2)
            {
                int n = Convert.ToInt32(hexStr.Substring(i, 2), 16);
                sb.Append(Convert.ToChar(n));
            }
            return sb.ToString();        
        }

STR TO HEX

Kod:
public static string StrToHexStr(string str)
        {
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < str.Length; i++)
            {
                int v = Convert.ToInt32(str[i]);
                sb.Append(string.Format("{0:X2}", v));
            }
            return sb.ToString();
        }

FİLE BASE64 ENCODE

Kod:
                FileStream fs = new FileStream(textBox1.Text,
                                   FileMode.Open,
                                   FileAccess.Read);
    byte[] filebytes = new byte[fs.Length];
    fs.Read(filebytes, 0, Convert.ToInt32(fs.Length));
    string encodedData =
        Convert.ToBase64String(filebytes,                
                               Base64FormattingOptions.InsertLineBreaks);
    StreamWriter writer = new StreamWriter(textBox1.Text + ".crypted");

FİLE BASE64 DECODE

Kod:
File.WriteAllText(textBox2.Text,HexStrToStr(File.ReadAllText(textBox2.Text)));
                byte[] filebytes = Convert.FromBase64String(File.ReadAllText(textBox2.Text));
                FileStream fs = new FileStream(textBox2.Text.Replace(".crypted",""),
                                   FileMode.CreateNew,
                                   FileAccess.Write,
                                   FileShare.None);
    fs.Write(filebytes, 0, filebytes.Length);
    fs.Close();

Project(Only program.cs) ; Tıkla

Program : indir - VirüsTotal
Beğenenler:
#2
Eline Sağlık Cnm
Beğenenler:
#3
eline saglık
Beğenenler:
#4
@D3NG3 ,@archavin eyvallah exciting
Beğenenler:

Anahtar Kelimeler

File Encoder Proje indir, File Encoder Proje Videosu, File Encoder Proje Online izle, File Encoder Proje Bedava indir, File Encoder Proje Yükle, File Encoder Proje Hakkında, File Encoder Proje Nedir, File Encoder Proje Free indir, File Encoder Proje Oyunu, File Encoder Proje Download


1 Ziyaretçi