1

I am interfacing with an old system that uses blowfish encryption... I really don't trust downloading precompiled dll's that I cant verify source code on. so going through the System.Security.Cryptography namespace blowfish is the only one I do not see listed...

can anyone point me in the right direction for encrypting/decrypting a blowfish string (given the encryption key is provided)

InitLipton
  • 2,395
  • 5
  • 30
  • 47
asuppa
  • 571
  • 1
  • 11
  • 27
  • Have you seen this? http://stackoverflow.com/questions/2681505/using-blowfish-encryption-within-net – gleng Jun 25 '14 at 13:14
  • The BCL doesn't contain a Blowfish implementation. So you'll need to use a third party implementation. Concerning your fear of pre-compiled `.dll`s, just use an open source implementation like BouncyCastle. – CodesInChaos Jun 25 '14 at 15:04

1 Answers1

1

Your best bet is possibly BouncyCastle... Funny name, useful library. It is a 3rd party DLL however it is widely used and known to work correctly, and is open source if you'd like to verify the code yourself. Consider giving it a try!

The Legion of the Bouncy Castle

Haney
  • 32,775
  • 8
  • 59
  • 68