Questions tagged [cryptlib]

cryptlib is a security toolkit library that allows programmers to incorporate encryption and authentication services to software.

cryptlib is a security toolkit library that allows programmers to incorporate encryption and authentication services to software. It provides a high-level interface so strong security capabilities can be added to an application without needing to know many of the low-level details of encryption or authentication algorithms.

13 questions
2
votes
1 answer

Dollar sign not allowed in env-cmd

I would like to ask if what's wrong with the dollar sign within the environment variable? I tried to do everything to fix the problem I've encountered using env-cmd package from npm with…
Antolin Bernas
  • 182
  • 3
  • 9
2
votes
1 answer

export private key from cryptlib p15 file

I need to extract an RSA private key from a .p15 keyset that was created/maintained by CRYPTLIB. I am able to open the keyset (CryptOpenKeyset), and load it into a CRYPT_CONTEXT (cryptGetPrivateKey), but now what? Ideally I need it in PEM format for…
2
votes
1 answer

Error compiling in #define

I am trying to compile the code from Cryptlib. But I go an error a the line 96 of this file. I also got several others error in gthr.h from mingw. I am compiling using mingw 4.8.1 under Windows. The error I got line 96 of debug.h error:…
The Bluff
  • 91
  • 9
2
votes
0 answers

Link Cryptlib Library with Qt creator

I have Qt Creator 2.6.1 based on Qt 5.0 I have build cryptlib with visual studio 2010 all cryptlib project is on C:\SDK\cl342 when I have built the project the crypt.h and cl32.lib and cl32.dll are in this folder C:\SDK\cl342 I am getting linker…
1
vote
0 answers

How to impelment custom I/O code with cryptlib?

I'm using Peter Gutmann's cryptlib to implement TLS encryption. Normally, cryptlib's functions cryptPopData and cryptPushData would process protocol specific handshakes, encrypt or decrypt data, and also read from or write to a network socket which…
dialer
  • 4,348
  • 6
  • 33
  • 56
1
vote
0 answers

Why is the decrytedText NULL?

My app receives encrypted data from a GET request. I'm having a problem decrypting the data. I'm using the cross-platform CryptLib Library, CryptLib. Followed the documentation in the CryptLib.m but nothing seems to work. If anyone has some…
astric mobiles
  • 468
  • 3
  • 14
1
vote
1 answer

cryptlib cryptSignCert fails

I'm actually programming and end to end encryped calendar. For this I am using cryptlib. I've more or less copied the code from the manual. But always, when I try to generate a root ca. It fails with error code -2 at cryptSignCert(). (Which means,…
1
vote
0 answers

Cryptlib error write to .p12 "No key present that corresponds to the certificate being added"

in the past we used a (windows) package using CryptLib to handle RSA encryption. Now we want to transfer our clients to a new platform where using CryptLib is not preferred. We created everything, and the only thing left is importing the private…
Hugo Logmans
  • 2,202
  • 1
  • 19
  • 14
0
votes
2 answers

Decode cryptlib encoded text using Java (without cryptlib)

Hello. First of all: I'm new to stackOverflow and to the subject I'm talking about... I am trying to avoid the usage of the cryptlib library for TripleDES encryption in my Java application (now i am using AES - to ensure the downward compatibility I…
RusH
  • 41
  • 8
0
votes
1 answer

Creating a pkcs#7 object in C with external digital signature

I am using a smart card device used to sign pdf document. I already know how to sign the pdf using itext. I have a 20 byte sha-1 hash, 256 byte signature (rsa encrypted by smart card private key) and a public key (.cer certificate) Is there a way…
GLC
  • 3
  • 3
0
votes
1 answer

stream cypher encryption in AES

i implement AES 256 bit algorithm in C# but i am encrypting 128bit block of plain text which require padding so i dont want to pad and want use to stream cipher use stream cipher instead of using 128 bit block encrypt stream byte by byte…
0
votes
0 answers

What is the OpenSSL equivlement of aes_mode_reset() from Cryptlib?

Due to a conflict I need to migrate CryptLib to OpenSSL. I (think I) found some of the differences I need as shown below in the format of cryptlib_function => openssl_function aes_encrypt_key256() => AES_set_encrypt_key(); derive_key() =>…
user3161924
  • 1,849
  • 18
  • 33
0
votes
1 answer

System String to std string without marshal

Is there any way to convert System::String to std::string if I am not allowed to use msclr/marshal_cppstd.h? The reason is that I need to use cryptlib.h in the same project and I get an error when I include both: cryptlib.h and wincrypt.h can't…
Szaby
  • 39
  • 3