It is currently Sat May 25, 2013 10:06 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 84 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject:
PostPosted: Sun Aug 31, 2008 8:56 pm 
Offline
PureBasic Fanatic
PureBasic Fanatic
User avatar

Joined: Fri Dec 09, 2005 12:15 pm
Posts: 2186
Location: RO, the land of all possibilities
No problem :). Just be sure to make some tests before using the lib, for me it seemed a bit dodgy (sometimes the data wasn't decrypted correctly but it might have been the way I used it). For some time I use a modified RC4 stream cipher that works great.

_________________
I hear and I forget. I see and I remember. I do and I understand. (Confucius)

Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 13, 2009 6:11 am 
Offline
New User
New User

Joined: Mon May 11, 2009 4:45 am
Posts: 1
JCV wrote:
I added another library

BLOWFISH and RIJNDAEL

See first post.

Where can I find BLOWFISH and RIJNDAEL? When was the last time your added this library?



_________________
4396710


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 17, 2009 1:17 pm 
Offline
User
User

Joined: Mon Aug 20, 2007 6:03 pm
Posts: 20
Location: Germany
All those links are down. Could someone please reupp that awesome libraries? I know that much of the sourcecode was posted in that topic, but some functions are missing (e.g. blowfish_init)


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 17, 2009 4:43 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 30, 2006 4:30 pm
Posts: 567
Location: NDIA Project
Even though I want to help, I'm very far from my home pc and I dont have backup here with me in abroad. Sorry mate.
I'll try if I can re upload all dead links.

_________________

[Registered PB User since 2006]
[PureBasic 4.51 Final] [Win 7 32bit]
[Intel Core 2 Duo 1.6 Ghz] [2GB DDR2] [8400]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 16, 2009 9:42 am 
Offline
New User
New User

Joined: Sun Jun 08, 2008 1:19 pm
Posts: 4
Location: Germany
one month later im asking also for a re up^^

cant someone of the users who already have downloaded the lib re up it?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 17, 2009 9:35 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Sep 20, 2004 7:12 am
Posts: 297
Location: Hell
At least the blowfish thing is available as source here.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 17, 2009 10:45 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 2853
Location: United Kingdom
HeXOR: Thanks for the link. :)

_________________
http://www.SinisterSoft.com <- My Business website
http://www.ReportComplete.com and http://www.ReportPlus.co.uk <- School end of term reports system


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 18, 2009 8:48 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 30, 2006 4:30 pm
Posts: 567
Location: NDIA Project
@reijin
I dont know which lib you need. And I dont have access to my home pc.

But I have a beta libs here.
Works both unicode & Non-unicode.
IncludeFile + Static Library
Quote:
http://rapidshare.com/files/245822177/cryptohash.rar.html


Use at your own risk. You can modify the includefile if you want.

Quote:
ProcedureDLL.l PureCrypt_GOST_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_GOST_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_AES_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_AES_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_RC6_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_RC6_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_RC5_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_RC5_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_RC2_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_RC2_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_CAST128_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_CAST128_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_MARS_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_MARS_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_IDEA_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_IDEA_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_DES_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_DES_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_TWOFISH_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_TWOFISH_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_THREEWAY_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_THREEWAY_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_TEA_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_TEA_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_XTEA_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_XTEA_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_BLOWFISH_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_BLOWFISH_Decoder(*Buffer, keys.s)

Debug PureHash_WhirlpoolFingerprint(@string_sample, Len(string_sample))
Debug PureHash_MD5Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_MD4Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_MD2Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_TigerFingerprint(@string_sample, Len(string_sample))
Debug PureHash_SHA512Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_SHA256Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_SHA1Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_SHA0Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_RMD320Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_RMD256Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_RMD160Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_RMD128Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_HAVALFingerprint(@string_sample, Len(string_sample))

_________________

[Registered PB User since 2006]
[PureBasic 4.51 Final] [Win 7 32bit]
[Intel Core 2 Duo 1.6 Ghz] [2GB DDR2] [8400]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 18, 2009 8:58 am 
Offline
New User
New User

Joined: Sun Jun 08, 2008 1:19 pm
Posts: 4
Location: Germany
JCV wrote:
@reijin
I dont know which lib you need. And I dont have access to my home pc.

But I have a beta libs here.
Works both unicode & Non-unicode.
IncludeFile + Static Library
Quote:
http://rapidshare.com/files/245822177/cryptohash.rar.html


Use at your own risk. You can modify the includefile if you want.

Quote:
ProcedureDLL.l PureCrypt_GOST_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_GOST_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_AES_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_AES_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_RC6_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_RC6_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_RC5_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_RC5_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_RC2_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_RC2_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_CAST128_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_CAST128_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_MARS_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_MARS_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_IDEA_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_IDEA_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_DES_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_DES_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_TWOFISH_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_TWOFISH_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_THREEWAY_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_THREEWAY_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_TEA_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_TEA_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_XTEA_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_XTEA_Decoder(*Buffer, keys.s)

ProcedureDLL.l PureCrypt_BLOWFISH_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_BLOWFISH_Decoder(*Buffer, keys.s)

Debug PureHash_WhirlpoolFingerprint(@string_sample, Len(string_sample))
Debug PureHash_MD5Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_MD4Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_MD2Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_TigerFingerprint(@string_sample, Len(string_sample))
Debug PureHash_SHA512Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_SHA256Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_SHA1Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_SHA0Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_RMD320Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_RMD256Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_RMD160Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_RMD128Fingerprint(@string_sample, Len(string_sample))
Debug PureHash_HAVALFingerprint(@string_sample, Len(string_sample))

in fact i need the rijndael lib
i thank you for your work - sad that you cant access your homepc.
im looking forward to see the libs reuploaded :)

greetings from germany ;)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 18, 2009 9:15 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 30, 2006 4:30 pm
Posts: 567
Location: NDIA Project
just play with the includefile. rijndael?
Quote:
ProcedureDLL.l PureCrypt_AES_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_AES_Decoder(*Buffer, keys.s)

_________________

[Registered PB User since 2006]
[PureBasic 4.51 Final] [Win 7 32bit]
[Intel Core 2 Duo 1.6 Ghz] [2GB DDR2] [8400]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 18, 2009 1:56 pm 
Offline
New User
New User

Joined: Sun Jun 08, 2008 1:19 pm
Posts: 4
Location: Germany
JCV wrote:
just play with the includefile. rijndael?
Quote:
ProcedureDLL.l PureCrypt_AES_Encoder(*Buffer, keys.s)
ProcedureDLL.l PureCrypt_AES_Decoder(*Buffer, keys.s)

yeah thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 07, 2009 11:54 am 
Offline
User
User
User avatar

Joined: Wed Nov 16, 2005 7:51 pm
Posts: 88
Location: France
Hello! I get an error : invalid memory access for each proceduredll
example : ProcedureDLL.l PureCrypt_AES_Decoder(*Buffer, keys.s)
Code:
FreeMemory(*Out) <--- here
  FreeMemory(*bytTemp)
  FreeMemory(*bytTempOut)

Are there a solution to avoid this?
it's work if i comment all
Code:
;FreeMemory(*Out) <--- here
  ;FreeMemory(*bytTemp)
  ;FreeMemory(*bytTempOut)

Thanks

_________________
PureBasicien tu es, PureBasicien tu resteras.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 07, 2009 1:11 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Oct 07, 2003 11:03 am
Posts: 119
Location: Bergen, Norway
To get it work on win7 I hade to do this

Code:
ProcedureDLL.i PureCrypt_BLOWFISH_Decoder(*Buffer, keys.s)
  Protected *bytTemp, *bytTempOut, *Out, *bytMessage
  Protected lLength, lEncodedLength, lCount, res.s

  Protected *pKeys
  keys = LSet(keys, 32, "0")
  *pKeys = AllocateMemory(Len(keys)*2+1)
  PokeS(*pKeys, keys)
  BlowfishInit(*pKeys, 32)
  FreeMemory(*pKeys)

  lEncodedLength = MemorySize(*Buffer) + 1
  If lEncodedLength % #BLOWFISH_BLOCKSIZE <> 0
    ProcedureReturn
  EndIf

  *Out = AllocateMemory(lEncodedLength - 1)
  *bytTemp = AllocateMemory(#BLOWFISH_BLOCKSIZE)
  *bytTempOut = AllocateMemory(#BLOWFISH_BLOCKSIZE)
 
  For lCount = 0 To lEncodedLength - 1 Step #BLOWFISH_BLOCKSIZE
    CopyMemory(*Buffer+lCount, *bytTemp, #BLOWFISH_BLOCKSIZE)
    BlowfishDecrypt(*bytTemp, *bytTempOut)
    CopyMemory(*bytTempOut, *Out+lCount, #BLOWFISH_BLOCKSIZE)
  Next lCount
 
  res=PeekS(*Out+4)

  FreeMemory(*Out)
  FreeMemory(*bytTemp)
  FreeMemory(*bytTempOut)
   
  ProcedureReturn @res
EndProcedure


Regards
Sveinung


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 07, 2009 3:45 pm 
Offline
User
User
User avatar

Joined: Wed Nov 16, 2005 7:51 pm
Posts: 88
Location: France
Thank you for sharing this correction. :) It work fine with Vista also.

_________________
PureBasicien tu es, PureBasicien tu resteras.


Top
 Profile  
 
 Post subject: Re: RSA 2048, Blowfish, Rijndael, Whirlpool PureLib
PostPosted: Tue Dec 08, 2009 4:50 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Oct 06, 2007 11:20 pm
Posts: 134
Location: France
JCV wrote:
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


Hum it looks great but...links are dead :!:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 84 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye