Thanks! On Mon, Nov 28, 2016 at 11:22 AM, Keisuke Miyako <[email protected]> wrote:
> hashing is not the same as encryption. > > you can only compare the hashes of two strings and make an assumption that > the originals must be the same. > you can't recover (decrypt) the original string from a hash string, > whatever algorithm you use. > > the PHP "crypt" function doesn't encrypt, you are looking at the wrong PHP > function. > http://php.net/manual/en/function.openssl-private-encrypt.php > > > 2016/11/26 22:20、Sujit Shah <[email protected]> のメール: > > I am looking for a way to store a value in MySQL encrypted using PHP > > I then want to decrypt this in 4D > > Will GENERATE ENCRYPTION KEYPAIR work? > > The crypt() function returns a hashed string using DES, Blowfish, or MD5 > > algorithms. > > > > 宮古 啓介 > セールス・エンジニア > > 株式会社フォーディー・ジャパン > 〒150-0043 > 東京都渋谷区道玄坂1-10-2 渋谷THビル6F > Tel: 03-6427-8441 > Fax: 03-6427-8449 > > [email protected] > www.4D.com/JP > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "There must be ingenuity as well as intention, strategy as well as strength. " ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

