User Profile

Collapse

Profile Sidebar

Collapse
thomashurlburt
thomashurlburt
Last Activity: Feb 15 '13, 06:40 AM
Joined: Feb 14 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • thomashurlburt
    replied to File Based User and password system
    no im not getting errors. it runs fine but it wont create the encryption file and save the password from the textBox2.text and encrypt the password and then when the user types the same password in again it doesn't recognize it and cant decrypt. and I created a fail catch point to recreate the whole thing but it doesn't want to work. and I've tried everything
    See more | Go to post

    Leave a comment:


  • thomashurlburt
    replied to File Based User and password system
    Code:
    ;
    using System.Security;
    using System.Security.Cryptography;
    using System.Runtime.InteropServices;
    using System.Security.AccessControl;
    
    namespace TriLockerBot
    {
    
    
        public partial class Form1 : Form
        {
    
            Safe safe = new Safe();
            public Form1()
            {
                InitializeComponent();
            }
            string sSecretKey;
    ...
    See more | Go to post

    Leave a comment:


  • thomashurlburt
    replied to File Based User and password system
    Code:
    private void Login(object sender, EventArgs e)
            {
                string location = "Tri//Accounts//" + textBox1.Text + "//" + "Set.sav";
                string pingGPS="Tri//Accounts//"+textBox1.Text+"//"+"Set.savv";
                if (Directory.Exists("Tri"))
                {
                    if (File.Exists("Tri//Accounts//" + textBox1.Text+"//"+pingGPS)&File.Exists(location))
    ...
    See more | Go to post

    Leave a comment:


  • thomashurlburt
    replied to File Based User and password system
    Code:
      private void EncryptFile(string inputFile, string outputFile)
            {
    
                try
                {
                    string password = "H#GH!QK&"; // Your Key Here
                    UnicodeEncoding UE = new UnicodeEncoding();
                    byte[] key = UE.GetBytes(password);
    
                    string cryptFile = outputFile;
                    FileStream fsCrypt = new FileStream(cryptFile,
    ...
    See more | Go to post

    Leave a comment:


  • thomashurlburt
    replied to File Based User and password system
    okay let me copy it down for you
    See more | Go to post

    Leave a comment:


  • thomashurlburt
    started a topic File Based User and password system

    File Based User and password system

    i can't seem to get my program to save the Set.savv file and encrypt it and decrypt it when user logs back on to there virtual file on a CD and writing it to the disk its self and closing the session
    See more | Go to post
No activity results to display
Show More
Working...