Military grade Encryption

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
xaviertechnology
Forum Newbie
Posts: 1
Joined: Mon Nov 17, 2008 2:03 am

Military grade Encryption

Post by xaviertechnology »

Hi. I am a newbie at this forum. I need the solution of the problem I am facing. I had to encrypt a password with a healthy encryption algorithm call it 4096 bit based encryption and decrypt it as well. Any clues for such military grade encryption as I want secure password encryption for my application. Prompt reply will be much appreciated.
with warm regards
Xavier Technology.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Military grade Encryption

Post by alex.barylski »

Depending on where you are in the world I believe that strong of encryption is illegal in most western countries. The best you can hope for is 256, which is what I believe SSL is based on and should suffice.

Lookinto using Blowfish for a secure private key encryption.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Military grade Encryption

Post by Eran »

You probably meant RSA which is an encryption algorithm and not SSL which is a protocol that can use several algorithms (including RSA). RSA can go as far as 4096-bit, which is considered to be unbreakable in the foreseeable future (on the other hand, 512-bit keys were shown to be breakable using several hundred computers working together).

And why would 4096-bit be illegal? it just costs more.
Post Reply