Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Cryptography on Windows

Name: Anonymous 2010-08-13 17:29

Is there a nice cryptography library for Windows which I'll be able to compile without mingw/cygwin?
CryptoAPI is dildos because you have to dick around with KeyContainers and ServiceProviders and other ENTERPRISE bullshit.

Name: Anonymous 2010-08-13 17:36

No.

Name: Anonymous 2010-08-13 17:47

At least it's native and comes with the OS.
I don't use CryptoAPI much myself. I just find a public domain/BSD/MIT (or something opensource, but not too restrictive like GPL) implementation of the algo I need and use that. Depending on the language, crypto libraries may already be provided in some form or the other, or you can just use OpenSSL if you want something intergrated.

Name: Anonymous 2010-08-13 18:25

>> cryptography
>> Windows

Now you have two problems.
HINT: get a real o/s.

Name: Anonymous 2010-08-13 19:35

>>4
o/s
( ≖‿≖)

Name: Anonymous 2010-08-13 19:41

>>4
>>
no sage
Back to /g/, please

Name: Anonymous 2010-08-13 20:04

>>4,6
I'm seriously tired of both of you.

Name: Anonymous 2010-08-13 20:29

>>4,7
I'm seriously tired of both of you.

Name: Anonymous 2010-08-13 21:08

>>4 and >>6,8
I'm seriously tired of both of you.

Name: Anonymous 2010-08-13 21:10

>>4
But it's the only good platform for hosting botnets!!

Name: Anonymous 2010-08-13 21:20

>>4
Is FreeBSD any good?

Name: Anonymous 2010-08-13 21:41

>>11
The OS is irrelevant. How well(efficient) crypto can be implemented depends on the physical architecture, much less on the OS. It can be implemented in just about anything - it's just simple math. Windows has its own native crypto services, which aren't that bad, but nothing forces you to use them if you don't want to or you prefer using some other crypto libs.

>>4 was just performing a /g/-level troll. HIBMT?

Name: Anonymous 2010-08-14 13:40

The Crypto API has been deprecated.

In Windows Vista/7 you should use the CNG API (Cryptography API: Next Generation).

http://msdn.microsoft.com/en-us/library/aa376210%28v=VS.85%29.aspx

It's still just as ENTERPRISEY, but then again, so is OpenSSL.

Name: Anonymous 2010-08-14 13:45

If you're using SEPPLES, Crypto++ is the way to go.

Name: Anonymous 2010-08-14 15:39

>>13
Why can't they just do something right the first time instead of deprecating APIs and replacing them with APIs that will be deprecated right away and supported for all eternity?

Name: Anonymous 2010-08-14 16:47

>>15
Because, the Unix/Posix Way is the One True Way, everything else is doomed to failure. It looks like this CNG API is pretty much the same as OpenSSL, just different identifier names.

Name: Anonymous 2010-08-14 17:39

>>13
But it doesn't work with XP, does it? I can't use it, then.

I didn't actually look closely into the CryptoAPI documentation; but you need to install certificates and key stores and shit like that, right? I shouldn't do that if I'm writing an application which should make as few changes to the system as possible.

Name: Anonymous 2010-08-14 17:55

>>17
Why are you still targeting XP? XP is dead. Force your users to upgrade.

Do Linux developers still make sure their shit works on Redhat Linux 7.1 from 2001? No. That's retarded.

Name: Anonymous 2010-08-14 18:03

>>18
Over a half of home PC users still use XP. Did you read the post where I said that I'm targeting Windows because it's the best platform for hosting a botnet? I can't very well display a message box saying
You need a newer version of the Windows® Operating System to be a part of my botnet. Please upgrade and then double-click this executable again
, can I?
Though I'm sure that there are people who would upgrade because of that.

Name: Anonymous 2010-08-14 18:19

>>19
If you're such a 1337 hacker, then you should be able to write your own cryptographic ciphers, and optimize them by writing it in assembly language using SSE2 intrinsics.

Name: Anonymous 2010-08-14 18:31

>>20
If I were, why would I need a botnet of my own? I'd just hijack someone's!
I just might, but I failed horribly at implementing SHA-256 using the Wikipedia article (in that the digest zero-length data came out wrong), so I wouldn't even try doing it with assembly (and I'm not sure to what degree it's portable).

Name: Anonymous 2010-08-14 23:18

>>20
assembly language
intrinsics

Name: Anonymous 2010-08-15 8:17

>>22
Please optimize your quotes!
assembly language
intrinsics

Name: Anonymous 2010-08-15 12:37

>>18
A Redhat Linux 7.1 user can just install more recent packages and have our programs run.

Name: Anonymous 2010-08-15 21:05

>>24
That's called upgrading, dickhead.

Name: Anonymous 2010-08-16 9:09

>>25
Now listen here, jerkface.  I meant to install the libraries side-by-side (SXS), this is a technology from Microsoft Windows.

Name: Anonymous 2010-08-16 10:22

>>26
libraries side-by-side (SXS), this is a technology from Microsoft Windows.
Oh wow. I wonder what ENTERPRISE terms one could devise for other common words and phrases.

Name: Anonymous 2010-08-16 10:23

I've just moved to Ubuntu.  Any good advice for a fuckwit?

Name: Anonymous 2010-08-16 10:28

>>28
Move back. Ubuntu is crap.

Name: Anonymous 2010-08-16 10:51

>>28
Ubuntu is ok.

Name: Anonymous 2010-08-16 11:13

Ubuntu is  OK, Ubuntu people are not okay. Use Ubuntu, but stay the fuck away from Ubantoforums and the IRC.

Name: Anonymous 2010-08-16 11:44

>>31
Are Ubunto people retarded?

Name: Anonymous 2010-08-16 11:48

>>24
Not if the software in question relies on features only present in the Linux Kernel 2.6.x.

Name: Anonymous 2010-08-16 12:37

>>32
Oh, don't worry, you'll fit right it.

Name: Anonymous 2010-08-16 12:40

>>17
But it doesn't work with XP, does it? I can't use it, then.
I'm laughing. Thank you.

Name: Anonymous 2010-08-16 14:24

THANK MY ANUS

Name: Anonymous 2010-08-16 14:43

>>33
What, like a module? Why would you use a kernel module in Redhat?

Name: Anonymous 2010-08-16 15:16

>>33
I would say only a minority of programs would apply.

>>37
The kernel provides a lot of userspace APIs.

Name: Anonymous 2010-08-16 15:23

>>38
Sounds kind of ENTERPRISE to me.

Name: 17 2010-08-16 15:30

>>35
You're welcome; but may I inquire as to what was so funny in my post?

Name: Anonymous 2010-08-16 16:03

>>1,27,39
I don't think you know what that word means.

Name: >>1,27 2010-08-16 16:51

>>41
Are you implying that having to install KeyContainers and certificates in CertificateStores, then having to contact CryptographicServiceProviders so that you'd acquire a CryptographicContext and so on, isn't enterprise-quality?
Or that making up buzzwords (such as SXS for side-by-side, SAAS for software-as-a-service, and all design patterns) isn't a sign of enterprise either?

Name: >>21 2010-08-16 18:54

>>21
I failed horribly at implementing SHA-256 using the Wikipedia article (in that the digest zero-length data came out wrong)
Since I know that you care, /prog/, I just wanted to tell you that the only mistake I did was using 0xFF instead of 0x80 when padding the data with a single bit followed by zeros. I feel a little stupid, but other than that my code works. This is good because I will no longer be required to turn in my /prog/ badge.

Name: Anonymous 2010-08-16 19:21

>>43
You made a mistake. No true EXPERT PROGRAMMER ever does that. Hand in your badge.

Name: Anonymous 2010-08-16 19:48

>>44
No! :<
Don't take my badge! I'll do everything (if you know what I mean).

Name: Anonymous 2010-12-06 9:05

Back to /b/, ``GNAA Faggot''

Don't change these.
Name: Email:
Entire Thread Thread List