Re: [Gambas-user] CRYPT function - a little help please?

2017-08-25 Thread Adrien Prokopowicz
Le Fri, 25 Aug 2017 12:01:37 +0200, Rolf-Werner Eilert a écrit: Ok Adrien, > First of all, the documentation of gb.crypt is completely wrong. As Tobias says, its methods have *nothing* to do with encryption : they only make hashes, and NONE is there a way to make

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-25 Thread Rolf-Werner Eilert
Ok Adrien, > First of all, the documentation of gb.crypt is completely wrong. As Tobias says, its methods have *nothing* to do with encryption : they only make hashes, and NONE is there a way to make real encryption in Gambas? If I wanted to encrypt some file with a password for instance,

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-25 Thread Adrien Prokopowicz
Le Fri, 25 Aug 2017 11:32:36 +0200, Benoît Minisini a écrit: Le 25/08/2017 à 11:22, Adrien Prokopowicz a écrit : I would like to put my two cents on this subject (although, disclaimer : I am not a professional in security). First of all, the documentation of

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-25 Thread Benoît Minisini via Gambas-user
Le 25/08/2017 à 11:22, Adrien Prokopowicz a écrit : I would like to put my two cents on this subject (although, disclaimer : I am not a professional in security). First of all, the documentation of gb.crypt is completely wrong. As Tobias says, its methods have *nothing* to do with encryption

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-25 Thread Adrien Prokopowicz
Le Fri, 25 Aug 2017 10:29:04 +0200, Tobias Boege a écrit: First of all, don't reply to a message from the mailing list when you want to start a new topic. It's not enough to just change the subject line. Write a brand new email instead. Both your questions about

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-25 Thread Tobias Boege
On Thu, 24 Aug 2017, mikeB wrote: > eGreetings, > I THINK I understand that the "Crypt" function is used to encrypt a password > that can be checked > by challenging user input (asking to input the password). Verifies plain > text against encrypted data - > It can NOT be decrypted. > > > ?1 =

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-25 Thread mikeB
Greetings, I don't see how it could be help in memory cuz it can still be verified after the system has been turned off. Why do I care? Inquiring minds just want to learn and know I guess;-) I would think that if a person is going to write a software program that implements something as

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-25 Thread Rolf-Werner Eilert
NOW - if anyone out there has a minute and knows - where does this encrypted file or string reside after it is created? Guess where strings reside, somewhere in memory, with a pointer to it... Depends on the interpreter. Why do you care? It's encrypted. If you care for security, the

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-24 Thread PICCORO McKAY Lenz
2017-08-24 23:43 GMT-04:00 mikeB : > > this encrypted file or string reside after it is created? > its obviously you are afraid of security in your proyect.. its better takes more in how the project parse the information and not in how the project cryp the

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-24 Thread mikeB
A BIG Thanks to Tony for the quick and working example - this function is exactly what I needed. Not being able to decrypt it was a brilliant idea - who ever wrote it gets my vote. NOW - if anyone out there has a minute and knows - where does this encrypted file or string reside after it is

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-24 Thread Tony Morehen
Dim userid As String Dim encrypted As String Dim cked As Boolean userid = "xcodex" encrypted = Crypt.md5(userid, "abcdefgh") cked = Crypt.Check(userid, encrypted) Print cked On 2017-08-24 06:14 PM, mikeB wrote: userid = "xcodex" Crypt.MD5(userid, "abcdefgh") cked = Crypt.Check(userid,

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-24 Thread mikeB
eGreetings, I THINK I understand that the "Crypt" function is used to encrypt a password that can be checked by challenging user input (asking to input the password). Verifies plain text against encrypted data - It can NOT be decrypted. ?1 = where does this encrypted file (or string) exist