slinga
Established Member
Hey guys,
I'm working on a File Encryption and Authentication Utility for my computer security class. I have a struct defined which holds the user's name, and a hash of their password. I decrypt the file containing this information to memory. I then create a pointer pointing to this location in memory, and of course it doesn't work. Things aren't lined up like I hoped they would be, ie fields just keep going until they reach their limit.
Is there a quick way to take this data in memory and create an array? If not it's going to be a pain to parse this...thanks in advance.
I'm working on a File Encryption and Authentication Utility for my computer security class. I have a struct defined which holds the user's name, and a hash of their password. I decrypt the file containing this information to memory. I then create a pointer pointing to this location in memory, and of course it doesn't work. Things aren't lined up like I hoped they would be, ie fields just keep going until they reach their limit.
Is there a quick way to take this data in memory and create an array? If not it's going to be a pain to parse this...thanks in advance.