FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Blowfish Encryption
Posts: 223
Joined: Thu Dec 01, 2005 03:34 PM
Blowfish Encryption
Posted: Wed Sep 18, 2013 09:08 PM

I'm working on a customer project requiring encryption, and Blowfish is one of the encryption technologies approved by the customer. I see that Blowfish encryption was added to the Harbour core last March. Has anyone had experience with it, and if so, do you have any tips for using it?

Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Blowfish Encryption
Posted: Thu Sep 19, 2013 03:18 AM
Hello

try

Code (fw): Select all Collapse
#include "fivewin.ch"

function main()

    local cBfKey := hb_blowfishKey( "fivewin" )
    local cText := "testing blowfish encript"
    local cipher

    ? cipher := hb_blowfishEncrypt( cBfKey, cText )

    ? hb_blowfishDecrypt( cBfKey, cipher )

return nil
Posts: 223
Joined: Thu Dec 01, 2005 03:34 PM
Re: Blowfish Encryption
Posted: Thu Sep 19, 2013 02:04 PM

Thanks!

Posts: 392
Joined: Tue Jul 29, 2008 01:55 PM
Re: Blowfish Encryption
Posted: Mon Sep 23, 2013 11:43 PM

Hi Daniel.

how to decrypt Blowfish with these functions?

where I find documentation on the use of these functions?

thanks

regards

Visite Chiapas, el paraiso de México.
Posts: 392
Joined: Tue Jul 29, 2008 01:55 PM
Re: Blowfish Encryption
Posted: Mon Sep 23, 2013 11:45 PM

Hi Daniel.

Oops, sorry ...

Thanks anyway

Visite Chiapas, el paraiso de México.

Continue the discussion