1,159 Topics
![]() | |
Hey guys! I have an encryption project for school and i have to randomly generate a 3x3 matrix. I know how to assign the values to the 2d array but i am unsure how to return the array. I know it is possible to return a vector of a vector … | |
[CODE] #include <iostream> #include <string.h> #include <ctype.h> using namespace std; void RemoveSpaces (char *str); void Removevowels (char *str); int main() { system("Color 1A"); char myString[300]; char clear[300]; char cipher[300]; int selection; int x = 0; int i = 0; int opt; cout<<"Enter a string!"<<endl; cin.ignore(); cin.getline(myString,sizeof(myString)); cout<<"Plase select what you … | |
hi im trying to use my login class file with my database class file using class extends and i cant seem to figure out how to connect the two [CODE]<?php class access extends MySQL{ var $user_column = 'username'; var $email_column = 'email'; var $pass_column = 'password'; var $user_level = 'user_level'; … | |
I create an xml file on startup in my application which contains the connection string of the database. [CODE] Dim contactDoc As XDocument = <?xml version="1.0"?> <database server=<%= TextBox1.Text %> name=<%= TextBox4.Text %> userid=<%= TextBox2.Text %> password=<%= TextBox3.Text %>> </database> Dim str1 As String str1 = Application.StartupPath contactDoc.Save((str1 + "\data.xml")) … | |
Hello everyone, I wanted to implement AES encryption technique to encrypt text file of any size. but for large size my compiler crashes.could anyone solve my problem problem is in line 304 according to me I attached my code with this thread plz help me asap. | |
Im creating a banking system for a university assignment. Basically I have been struggling with encrypting user data. Its a first year assignment (in a 3 year bachelor) please bear this in mind when commenting x))) [CODE] //The constructor sets the global veriable key to a user defined value. //The … | |
![]() | It doesn't run! Can you help me please? Devc++ compiles it, and also launch the exe file, but it stops after the second for cycle! Why? :D [CODE]#include <iostream> #include <string> using namespace std; int main() { int N,i,z; cout<<"Digitare il umero di caratteri che contengono il nome "; cin>>N; … |
HEY guys i have a question, i have a program that takes a string and then it gives three levels of encryption 1 to 3. i have no problem with the code as its working. its just when i compile it, if i choose option 1, i need to recompile … | |
I want to encrypt my 128 bit string using AES encryption. example 128 bit string = "A#$RFDE%t^&jhy*i" with 128 bit key = "CDF$#%Tgfvb^%&$C" [url]http://www.cryptopp.com/[/url] Is here any help to encryption. I gone through crypto++ library. But it seem tough to understand. | |
I'm using this encrypting function psoted by a member: [CODE]Public Function SimpleCrypt(ByVal Text As String) Dim strTempChar As String = "" Dim i As Integer For i = 1 To Text.Length If Asc(Mid$(Text, i, 1)) < 128 Then strTempChar = _ CType(Asc(Mid$(Text, i, 1)) + 128, String) ElseIf Asc(Mid$(Text, i, … | |
[CODE]#include <iostream> #include <string.h> #include <ctype.h> using namespace std; void RemoveSpaces(char *str); void RemoveVowels(char *str); int main() { char clear[256]; char cipher[256]; int x,i; int opt; cout<<"Encryption (1) 0r Decryption (2):"<<endl; cin>>opt; cin.ignore(); if(opt==1) { cout<<" Enter a string(sentence):"; cin.getline(clear,sizeof(clear)); RemoveSpaces(clear); x = strlen(clear); for(i=0;i<=x-1;i++) { cipher[i] = clear[i]+3; } … | |
Guys i really need some help here with this function, in my program i enter string to to encrypt. from my function i want to delete all spaces, i'm really having problems here hope someone can tell me were im going wrong. thanks again. [CODE]#include <iostream> #include <string.h> #include <ctype.h> … | |
A company transmits data over the telephone, but it's concerned that its phones could be tapped. All its data is transmitted as four-digit integers. The company has asked you to write an application that encrypts its data so that it may be transferred more securely. Encryption is the process of … | |
Hey folks in my program is to encrypt a string.i then declared a function outside of the program to preserve the spaces which have been encrypted. but i dont know how to return my function to the main program to output the encrypted string with the spaces. cheers guys hope … | |
[CODE]#include <iostream> #include <string.h> #include <ctype.h> using namespace std; void Removespaces(char clear[], char cipher[],int x,int i); void Removevowels(char clear[],char cipher[],int x,int i); int main() { char clear[256]; char cipher[256]; int x,i; int opt; cout<<"Encryption (1) 0r Decryption (2):"<<endl; cin>>opt; cin.ignore(); if(opt==1) { cout<<" Enter a string(sentence):"; cin.getline(clear,sizeof(clear)); // calling the … | |
Hi I was wondering why I have an error in this program every time I try to do a long encryption. For example, encrypting an ebook or long document. I only occurs in the advanced encryption and advanced decryption functions. I'm pretty sure it has something to do with memory … | |
I have been doing some research on how to go about using a random salt per user's password. There are a few things that I am still unsure about. It is easy enough to store a random hash using something as the following: [CODE] <?php $password = 'MySuperSectretPassword!'; $salt = … | |
I'm trying to make encryption program but when i run the program it gives me this error: Debug Assertion Failed! Program:...nts\visual studio 2010\projects\encrypter\debug\encrypter.exe File:c:\program files\microsoft visual studio 10.0\vc\include\xstring Line:1441 Expression: string subscript out of range For information on how your program can cause assertion failure, see the Visual C++ documentation … | |
[CODE] #include <iostream> #include <string.h> #include <ctype.h> using namespace std; int main() { system("Color 1A"); char clear[200]; char cipher[200]; int x,i; cout << "what do you want to do with your password " << endl; cout << "1 Encrypt your password " << endl; cout << "2 Decrypt your password … | |
I am working to take c code from an academic paper and edit. I am studying cryptographic algorithms. I have ran the following code, but I am having a little difficulty understanding two things. First, the program uses unsigned long ints. When they are added or subtracted, I don't get … | |
I have been programming in C++ for a while now. I heard about RSA Encryption algorithm, and i have read many online sites on how it works. But i still cant grasp how the algorithm works. i have tried to make programs with RSA, but they doesnt encrypt. If you … | |
Hello all, I have a code to encrypt data in C# and I want it to b decrypted in Java... following is the C# code [CODE]string Encrypt(string textToEncrypt, string key) { RijndaelManaged rijndaelCipher = new RijndaelManaged(); rijndaelCipher.Mode = CipherMode.CBC; rijndaelCipher.Padding = PaddingMode.PKCS7; rijndaelCipher.KeySize = 0x80; rijndaelCipher.BlockSize = 0x80; byte[] pwdBytes … | |
Hello everyone, Im developing an application in C# for a school project that encrypts data in text form using a password and vice versa, and i' d need some help with something. The program encrypts fine taking as input 1)the data (reading it from textbox) and 2)the password, and stores … | |
Hi All, I have written my-self a file encryption application, but I am getting the following error from on this peice of code the eroor is : NAME 'it' is not declared Please see my code below Imports System.IO Imports System.Text Imports System.Security.Cryptography Public Class Form1 Inherits System.Windows.Forms.Form 'creates an … | |
search and didnt find anything that was close to this. so my assignment is to simulate a simple authentication, where the user enters their original pin or password(numbers only). it must use arrays to assign the password a pseudo-random assignment of 1-3 for digits 0-9. after that the program clears … | |
Hi everyone, I have a form with one combo box and text box and buttons. please refer the snapshot with i have attached. I have the following code: My Stored Procedure for inserting the data: [code] /* Name: usp_InsertBranchSetup Description: Insert the Record to dbo.hrBranchSetup table Author: Tashi Modification: Insert … | |
![]() | Hi, I currently have a legacy application wrote in java and am trying to develop a new updated version of the application. The application relies on inputs from encrypted text files, the only thing is i dont know the type of encryption used in the old application. Is there any … ![]() |
![]() | Hi, didnt know where to post this so came to my frequent board. I currently have a legacy application wrote in java and am trying to develop a new updated version of the application. The application relies on inputs from encrypted text files, the only thing is i dont know … ![]() |
Someone please tell me the difference between 0 and '\0' and NULL. I thought I knew it! 0 and NULL is the same thing "Essentially".. '\0' is a null terminator for a string.. It's just sometimes when I convert a string to char array and do some encryption on it, … | |
I am looking to encrypt data (preferably XTEA) on my .Net Micro Framework, send it to a webservice in .Net (Azure) and decrypt it there. I found this [URL="http://www.dmcinfo.com/Blog/articleType/ArticleView/articleId/83/Encryption-Compatibility-Between-NET-Micro-Framework-and-the-Full-NET-Framework.aspx"]blog post[/URL] but I am unable to get it to work. The encryption result on .Net differs from the .NetMF. I hope … | |
I have wrote this program in C++. But it doesnt have the output that it should. Instead of putting out +-++-+ it puts out ++-+++-+++++++-+++-+++--+++. That is just an example it will ofcourse have defirent output but it makes more characters then there is in the origanal string when i … | |
Hi guys, Recently I have been trying to make a program, and Im stuck. I am trying to create a login function where by the first time a user logs in, their username and password are encrypt and placed in a file. Then each time that user logs in, the … | |
Hey I am having a problem with this java program im trying to accomplish.... I know how to count the characters or letters in a word, but how do you count every other word and display that letter in a row. Im trying to do an encryption program for example … | |
British software developer Conseal Security has just launched a rather clever solution to the problem of securing the data on your portable media such as USB thumb drives and portable hard drives while at the same time maintaining fully centralized control of the management of those devices without breaking the … | |
I want to retrieve information from the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\27F43CBD97D1DB04CA142624E98D6717\features But the values of this registry key are encrypted.. any one know how to decrypt them? example : value = F_FTP_COMMON value data = ZC]++I3{!@.!lfp,?=DHHvyyfa8fj@(6d@fnEE32eWl_`4R(h@AZId-+a?DW | |
Hello, I have written a code in which back button was working fine but it is not working for some reason also the validation of 2nd form isnt working as well.....plz help here is the code [CODE]/* * To change this template, choose Tools | Templates * and open the … | |
Hello, I have a small issue. I am encrypting the data in J2ME using DES. When I send the data to the server, the encrypted text which has special characters is changed into "?" (question mark) and because of this the decryption doesnt work, it gives bad padding exception. How … | |
below is a very simple encryption class which shows how to encrypt sensitive data (very simply) this example converts a string to hexadecimal form and back again with some simple error handling. please leave some feedback if you find this useful | |
good night friends. I've made a voting system for the purposes of my campus. I want to implement RSA encryption and description to data security. I want to ask how to make input into SQL diinsert encrypted when one candidate is clicked? anyone help me please.. this the pict the … | |
I need to decrypt the files that contain information about the private keys.. Can any one guide what is their encryption method... These files are present at the following location... All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys Plzzz Help... | |
hello all, I am new to J2ME development rather this is my first code i have written in J2me for encryption and decryption using bouncycastle . It is giving the error which i am unable to find solution for... plz help... :sad: This is the error it is showing in … | |
Although, I could easily state quite a few people will be bored with these, I couldn't find someone else with my problem. The code below runs, though doesn't decrypt. It gets to the first "Error: Unidentified Character" and ends. Any help great appreciated. [CODE]#include <iostream> #include <string> #include <array> #include … | |
I am using the function CryptProtectData() to generate an encryption key... I have made a DATA_BLOB structure, and made two instances of it. The code is as follows: private struct DATA_BLOB { public int cbData; public IntPtr pbData; } DATA_BLOB pDataIn; pDataIn.cbData = 2; pDataIn.pbData = Marshal.StringToHGlobalUni("saneeha"); DATA_BLOB pdataOut; CryptProtectData(pDataIn,"sasa",null,(IntPtr)null,null,CryptProtectFlags.CRYPTPROTECT_LOCAL_MACHINE,pdataOut); … | |
Is there a library that's easy to setup and use with Visual Studio 2010 for AES encryption/decryption? I've been fiddling with CryptoPP and it's endless link errors and iterator_level_not_equal error messages for an hour now, so I think it's time to look for an installer or a new lib. Any … | |
I need to find, that , encryption keys related to which application are present in the following file...? C:\Windows\System32\7B296FB0-376B-497e-B012-9C450E1B7327-2P-0 plzzz help.... | |
Hey guys! I need to make a very simple login-like app. I could just write an program that would accept one masked text-box and verify its contents with a predefined string, but I want something more secure. How to make it encrypted, like web login forms? I've read a bit … | |
Dear Experts, Thanks for your time and help. I am using oracle in my application with ASP.NET and C#, My query is ok but it is going to ELSE Condition. (Goes to green line) Please Help me to solve this issu. [CODE] <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <%@ Import … | |
i want to knw that how to decrypt stored password in oracle database.. | |
Hello. I am having problems connecting a laptop to my router wirelessly. The various details are below. [u]Laptop[/u] Acer Aspire 5315 Windows Vista Home Basic Atheros AR5007EG wireless network adapter IP is set to obtain automatically [u]Router[/u] Netgear Wireless N 300 Router (WNR2000v2) SSID is set WPA-PSK [TKIP] + WPA2-PSK … | |
I downloaded a program and installed it using a p2p program and now my internet wont work. I scanned with symantec but nothing came up. I ran a system scan with HijackThis v2.0.4 and this is what came up... Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 10:34:56 AM, … |
The End.