Blowfish Encryption

Blowfish Encryption

Postby Roger Seiler » Wed Sep 18, 2013 9: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?
User avatar
Roger Seiler
 
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA

Re: Blowfish Encryption

Postby Daniel Garcia-Gil » Thu Sep 19, 2013 3:18 am

Hello

try

Code: Select all  Expand view

#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
 
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Blowfish Encryption

Postby Roger Seiler » Thu Sep 19, 2013 2:04 pm

Thanks!
User avatar
Roger Seiler
 
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA

Re: Blowfish Encryption

Postby devtuxtla » 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.
devtuxtla
 
Posts: 392
Joined: Tue Jul 29, 2008 1:55 pm

Re: Blowfish Encryption

Postby devtuxtla » Mon Sep 23, 2013 11:45 pm

Hi Daniel.

Oops, sorry ...

Thanks anyway
Visite Chiapas, el paraiso de México.
devtuxtla
 
Posts: 392
Joined: Tue Jul 29, 2008 1:55 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 22 guests