Page 1 of 6

RSA 2048, Blowfish, Rijndael, Whirlpool PureLib

Posted: Sun Oct 15, 2006 2:24 pm
by JCV
Availabe PureLibs

Encryption/Decryption
1. RSA 2048 Bits
2. Blowfish
3. Rijndael

Hashing
1. Whirlpool

Before downloading the link below, you should be aware about encryption export laws on your country.
RSA 2048 Bit LINK
BLOWFISH LINK
RIJNDAEL LINK
WHIRLPOOL LINK

@traumatic thanks for your help. :D

Posted: Sun Oct 15, 2006 2:42 pm
by thamarok
Very nice!
This is very useful!

Re: RSA 2048 bits PureLib

Posted: Sun Oct 15, 2006 3:04 pm
by traumatic
JCV wrote:@traumatic thanks for your help. :D
:)

Posted: Sun Oct 15, 2006 4:51 pm
by localmotion34
2048 bit encryption in the US is illegal. The Dept of Homeland Security, and the US State Dept consider that strong an encryption to be a type of munition.

Selling any software to or from the US without approval from the Gov't is a Federal Crime, and for non-US citizens, can end you up in Gitmo or extradited to the US.

For all PB users outside the US, this is not an issue. You can sell your apps to persons outside the US, and while the US gov't can try and invoke long-arm jurisdiction, they really cant do anything.

Im not kidding. i do not agree with this totalitarian stance, but i am pointing out that for US users of PB, if you distribute an app using this lib's full encryption, you can get busted BIG TIME.

The National Security Agency must be able to decipher any sold encryption within a reasonable amount of time "in case they need to". This is just another example of the growing dictatorship the US is falling under.

Posted: Sun Oct 15, 2006 4:59 pm
by ts-soft
thx for the lib

small bug:
after 2x decrypt the same string it crashes in the gui example

Posted: Sun Oct 15, 2006 8:16 pm
by Nik
Does this also mean that I am not allowed to take my laptop with me when traveling to the USA because I have GnuPGP installed? And why doesn't this apply to ssh?

Posted: Sun Oct 15, 2006 8:29 pm
by localmotion34
Nik wrote:Does this also mean that I am not allowed to take my laptop with me when traveling to the USA because I have GnuPGP installed? And why doesn't this apply to ssh?
no you are fine doing that, but if you are a US citizen and you use this LIB, and then post it here where people of foreign countries can download it, you are violating US regulations on the export of encryption.

encryption is considered a munition like bombs and guns.

AND if you are a nonUS citizen and use this LIB, and then make it available to Us citizens, the US Gov't can extradite you for the same violation.

This is what we are living under in the US.

PLEASE RESEARCH ENCRYPTION EXPORT LAWS.

Posted: Sun Oct 15, 2006 9:07 pm
by Nik
Hmm well can't find a a good article on this subject but it seems critical. I don't understand yet wether this law also applies to non US citizens when traveling to the US and back. I mean I could be carrying a crypto algorithm on my laptop and then leaving the US would make me a wapon smuggler :lol:

Anyway I feel sorry for you guys

Posted: Sun Oct 15, 2006 11:46 pm
by Heathen
localmotion34 wrote:2048 bit encryption in the US is illegal. The Dept of Homeland Security, and the US State Dept consider that strong an encryption to be a type of munition.

Selling any software to or from the US without approval from the Gov't is a Federal Crime, and for non-US citizens, can end you up in Gitmo or extradited to the US.

For all PB users outside the US, this is not an issue. You can sell your apps to persons outside the US, and while the US gov't can try and invoke long-arm jurisdiction, they really cant do anything.

Im not kidding. i do not agree with this totalitarian stance, but i am pointing out that for US users of PB, if you distribute an app using this lib's full encryption, you can get busted BIG TIME.

The National Security Agency must be able to decipher any sold encryption within a reasonable amount of time "in case they need to". This is just another example of the growing dictatorship the US is falling under.
Edit: I just read online and it says that its not illegal to use it in america, its illegal to export it out of america.. Not 100% sure though.

Posted: Mon Oct 16, 2006 2:25 am
by JCV
Am I going to remove this lib for public then? :?

Then I wont post other encryption libs I have finished. I have lots of PureLibs here done like AES, Blowfish and other encryptions that are based from opensource c/c++/asm implementation on the net. :?

scary. :?
Im not from US. :D

Posted: Mon Oct 16, 2006 2:32 am
by localmotion34
JCV wrote:Am I going to remove this lib for public then? :?

Then I wont post other encryption libs I have finished. I have lots of PureLibs here done like AES, Blowfish and other encryptions that are based from opensource c/c++/asm implementation on the net. :?

scary :?
no, DO NOT remove this LIB. Simply add a text file that people must check their respective countries laws on encryption. It is their responsibility.

In the US, we must get a license from the Government to be able to sell or export software using this LIB to foreign customers.

Please do post your other encryption LIBS. i could definitely use them. if i want to stay out of trouble and use them in my shareware, i have to file paperwork with the government.

Other just need to know this. what you are doing is perfectly legal. you just must inform people that they need to read up on the laws using this. can you post your other libs so we can test them out?

Posted: Mon Oct 16, 2006 4:19 am
by Intrigued
Even if the information in this thread is skewed, thanks for at least getting us to think about such. (again, if it's skewed).

Thanks for the headsup in another words.

*thumbs up*

Posted: Mon Oct 16, 2006 4:22 am
by Joakim Christiansen
I bet FBI will storm JCV's house now and take his computer and all his sourcecodes and then put him in jail for lifetime! :D

JCV, I say you should give a damn about it, please share your great code! :)

Posted: Mon Oct 16, 2006 6:51 am
by JCV
I added another library

BLOWFISH and RIJNDAEL

See first post.

Posted: Mon Oct 16, 2006 7:11 am
by netmaestro
Excellent! Thanks for sharing this and making it available to the community. I tried out the Blowfish lib and got perfect results. If I could make one tiny suggestion, it would be that you compile this code:

Code: Select all

Structure BLOWFISH_CTX
  P.l[18]
  StructureUnion
    S0.l[256]
    S1.l[256]
    S2.l[256]
    S3.l[256]
  EndStructureUnion
EndStructure
with TailBite, which would create a compiled resident for this structure that you could distribute with the lib. Just makes it easier to use the library to not have to remember the structure. Thanks again for your generosity.