Encrypt with CAPICOM [RESOLVED using DECRYPT} -
Why doesn't CAPICOM encrypt data the same way more than once?
I enter a password into a textbox, and call Encrypt(), which uses the .dll to encrypt data. It isn't the same a second time.
Code:
ff = FreeFile
Open "pw.txt" For Output As #ff
For x = 1 To 5
Print #ff, Encrypt(txtPassword.Text)
Next x
Close #ff
Produces this:
Quote:
MGIGCSsGAQQBgjdYA6BVMFMGCisGAQQBgjdYAwGgRTBDAgMCAAACAmYQAgIBAAQQ
AAAAAAAAAAAAAAAAAAAAAAQQ/8hvQbPrJDNSEl4YrFs9gwQQRupJbq3hWT/5fK/3
Mb706A==
MGIGCSsGAQQBgjdYA6BVMFMGCisGAQQBgjdYAwGgRTBDAgMCAAACAmYQAgIBAAQQ
AAAAAAAAAAAAAAAAAAAAAAQQqqMoffknwTRI0PZT4s0EIgQQttFbkW5fVqNaCajd
C7Eocg==
MGIGCSsGAQQBgjdYA6BVMFMGCisGAQQBgjdYAwGgRTBDAgMCAAACAmYQAgIBAAQQ
AAAAAAAAAAAAAAAAAAAAAAQQGrN4wi9x6UXTxy2pcdyz7QQQ7puJuqAYeNhtvs88
QrXNXw==
MGIGCSsGAQQBgjdYA6BVMFMGCisGAQQBgjdYAwGgRTBDAgMCAAACAmYQAgIBAAQQ
AAAAAAAAAAAAAAAAAAAAAAQQBJk1FoHLNqeh71P7ZjU3aAQQycvI0xBGsRrXLPgk
v9alzA==
MGIGCSsGAQQBgjdYA6BVMFMGCisGAQQBgjdYAwGgRTBDAgMCAAACAmYQAgIBAAQQ
AAAAAAAAAAAAAAAAAAAAAAQQOL4dG5uMMDDh1ljwsBDehgQQPvHzpcl3pFdWIKgX
bkolNA==
|
It is getting changed somehow, and I don't know why.
Any Ideas?
CAPICOM prerequitsites (RESOLVED) -
Hello everybody
I want to use CAPICOM to digitally encrypt a password in my application. I know that CAPICOM is based on CryptoAPI. I have downloaded and installed the latest Microsoft SDK. Does this contain both the CAPICOM and CryptoAPI libraries? Also, in order to use CAPICOM wha
Encrypt/DeCrypt File -
hi
i want to encrypt an image through vb Code
can any body tell me how to encrypt / decrypt an image (tiff file) thru Visual Basic.i have done it using Encrypt/decrypt function. it has several problems
I came to know that Microsoft CAPI is the better solution for it. I am not able
Capicom and crypt binary files -
Hi ,i'm looking for a dll to encrypt birnary and text files , i think that capicom dll can do it ,but it's possible to encrypt binary files? ,i had tryed but i can't ,does anybody can show me an example?
Thanks ,
Encrypt with CAPICOM [RESOLVED using DECRYPT} -
Why doesn't CAPICOM encrypt data the same way more than once?
I enter a password into a textbox, and call Encrypt(), which uses the .dll to encrypt data. It isn't the same a second time.
Code:
ff = FreeFile
Open "pw.txt" For Output As #ff
For x = 1 To 5
Uhm... -
I don't think you understand what I mean. I know how to encrypt and decrypt a file but I need to encrypt my vb exe which once double clicked will automatically decrypt itself - with a built in decryption alogrhtym.
MD5 encryption/decryption -
Hey,
I am trying to find out how i can use my vb program to encrypt things such as password and then when its looked up it will decrypt them to check, does anyone know how to encrypt and decrypt text using MD5?
thanks
lee
Encrypt and Decrypt using vb6.0 -
How to encrypt and decrypt a file using vb6.0
Pls. mail me sonn,,,
Thanx in Advance...
[2005] Encrypt a textfile -
I have a textfile and it is located at C:\adress.txt
I want to encrypt that and use a password to encrypt and decrypt because i have another program witch uses that textfile.
So you put in a password in a textbox and then you encrypt and then you put in the password and press decrypt
Encrypt && Decrypt PHP Script -
Hi All,
I have a question. Is it possible to encrypt a php script ? I mean I do not want to show my php script to users. If somebody is trying to access it from View --> Source Code , then he would not be able to see it. If it is possible to encrypt the entire html, java script a
< encrypt decrypt > -
Does anyone have an encrypt and decrypt that can do sound files as well...ie..wav and mp3. I have one that uses binary but it can't handle wav or mp3.
What is Xor and how is it used to encrypt/decrypt -
what is Xor and how is it used to encrypt or decrypt? Can somebody explain it in detail please.
How to Encrypt & decrypt a file -
Is there any API functions in VB6.0 to encrypt and decrypt a file. In case if it is there, then explain me with source code.
Mail me soon...
Thanx in Advance...
Amount of data RSA can encrypt/decrypt -
What is the limit size of data that the RSA algorithm implemented into .NET can encrypt/decrypt?
Password encrypt and decrypt -
Dear Friends
How I encrypt / Decrypt the password of my users in ascii mode.
Bitmap Encrypt / Decrypt -
hiya all,
Just wondering how to use vb to encrypt a bitmap file and then be able to decrypt it, it doesnt have to be the best encryption.
Thanks
So, how can I decrypt code in my VB app -
I see how I can encrypt and decrypt files with VB.. but what if I want to open a file into my VB app and decrypt it at that point, yet not really decrypt the file on the hard drive so that the user could still not open it without my application.
Add Powerful Encryption To Your Visual Basic Programs -
I thought I would show you an easy way to add powerful encryption to your visual basic programs. Up till now, you either had to write the chipers in a fast language like C or deal with the CryptoAPI. Either way you went, it was very complex with uneven documentation. But lucky for the
how to encrypt/decrypt a file -
hi friends,
i want to encrypt/ decrypt files. can u help me to get some code to achieve this. i want a simple and fast encryption code. i have some but they are taking a long time. and it should not change the file size.
thanx
Encrypt Decrypt Program -
Hi everyone, I made a VERY VERY VERY VERY Simple Encrypt Decrypt program...
Please note it's in Beta release
Encrypt in VB.NET, Decrypt in VB6 -
Hello
I have the challange to code some encryption/decryption function.
No problem so far!
The real challange is, that I have to encrypt some text in VB.NET and save the value in a database. A VB6 application will read the value from the database and decrypt it.
Are there som
Encrypt/Decrypt -
hey, i have been working a lot at asp lately, and i have been wanting to make a Encryptian/Decryptian program. I don't know where to start? Say i have a text file stored in a string, what would be a fairly easy, but still effective way to encrypt/decrypt the contentents of the string
Microsoft Crypto API -
Hi,
I want to take a string and encrypt/decrypt using Microsoft Crypto API but not sure how to use it. Do I have to create a hash object first? If so, why? Can't I just use the encrypt/decrypt functions? I am new to Crytography so any explaination how to use it will be appreciated.
Encoding / encryption function -
I am looking for a way to encrypt/decrypt a short string in Visual Basic 6.
However, the problem is that I need an identical encrypt/decrypt function for PHP, that will change the string in exactly the same way.
Does anyone know what I might be able to use?
To Encrypt and decrypt........ -
Hi Folks!!
I am looking for an active x control in VB,or any source code for that matter which would enable me to encrypt and decrypt any document file or Gif file or Bmp file and the like ...
thanking u,
peri
[2005] Encrypt string in VB - decrypt in PHP! -
Hi,
I need to be able to encrypt a string in VB.Net 2005 and then be able to decrypt it using PHP on a web server.
PHP offers a variety of options - the best seeming to be mcrypt() but I can't see (easily) a way of encrypting the string in VB.Net
Any advice welcome.
Thanks
Encryption and Decryption of Password -
I want to store my encrypted passwords in a file passwd.txt.
These passwords are like password to my email, internet, etc.
I need an encryption and decryption function which requires
a key to encrypt and decrypt certain password.
Please let me know how to do encrypt and decrypt
Hash, base64, binary encryption, secure random numbers [CAPICOM] -
I got bored today and decided I'd write a better example of using the CAPICOM library with visual basic.
Requirements:
Version: CAPICOM 2.1.0.1
http://www.microsoft.com/downloads/d...DisplayLang=en
Instructions:
1. You will need to download and install this CAPICOM library in
XOR() To encrypt string... -
I made one a while back, but I have since lost it. I was wondering if anyone here had the code for a program two text boxes, a decrypt and an encrypt button which ecnrypts/decrypts the text entered?It isn't as simple as a standard en/de method, I need it to encrypt to non standard char
Using Rijndael algorithm with the System.Security.Cryptography namespace -
I want to use the Rijndael algorithm to encrypt a string that a user has a inputed. I looked around for documentation on doing this and I have come up empty. Basically what I want to know is how it works and an example in vb.net on how it is used. I also need to decrypt the string
RSA Algorithm help/example -
Hello,
Im trying to use encryption with the rsa algorithm and having some dificulty
with VB6. I have my encrypt method which looks like so:
Function encrypt(i As Long)
Dim temp As Long
temp = i ^ s
temp = temp Mod n
encrypt = temp
End Function
And Decryp
Encrypt in Vb6 Decrypt in c# -
Hi,
I have a VB6 application that should encrypt a string using a public key and a C# application decrypt using a private key.
Following situation. I created a Certificate containing a public and a private key. in my certstore and exported the keys to files ( .pfx,.cer )
so
shuffle string -
hi friends,
can u get me the code to shuffle a string. it is something like encrypt/decrypt, but to encrypt i simply want to shuffle the characters in the string and t decrypt i want the order back.
thanx,
Code to encrypt with VB6 and decrypt with VBscript -
I have an OUTLOOK folder based solution which is installed into OUTLOOK with a compiled VB6 .exe in which a file containing some strings and integers is encrypted. I currently don't have any way to decrypt and read this file with the custom form VBscript code that is running in OUTLOO
Encrypt and decrypt a simple text file ( i am a newbie) -
I am coding a secure word prcessor and I need a way to encrypt (upon saving) and decrypt (upon loading) a simple text file. I am VERY new at this vb thing so I am looking for someone who will work with me over email, aim or icq to get this done. My email is psistem@yahoo.com. My aim is
XOR decrypt -
Hey all,
Anyone know how to decrypt not encrypt xor encrypted text/numbers etc.??
Any links anything.
cheers
b
File encryption/decryption tool hogs entire processor!!! -
Hello folks,
I have created a file encryption/decryption tool. When the file size is small it works fine but when the file size is big say 1Mb or so the machine freezes till the encryption/description process is complete.
How can I reduce this processor load so that other process
symmetric/asymmetric keys -
Ive recently started to get into the JSSE API and after reading a little about symmetric/asymmetric keys i am a bit confused.
Here are some excerpts from a book i am reading.
In traditional secret key(symmetric) encryption, the same key is used bolth to encrypt and decrypt the
text file encryption -
Hi to all,
I am like 99% of those people on here in the way i would like to code the following....
I have a series of textboxes on a form i would like to save the contents of these to a textfile but encrypt them prior save. Then, when reloading them decrypt the textfile and show
How to encrypt a value to store in a registry and decrypt from the registry -
Hi all,
I am developing a demo pack for my software.In that i need to retrieve the system current date and store in the registry in an encrypted way.
How to encrypt the system date and decrypt back from the registry for comparing its value with another date value.plaese help me in th
Encrypt / Decrypt File/Folder -
Hi,
I would like to encrypt and decrypt file(s) and folder. Is there any API that can help me ? I need guidelines and help. Please help.